summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/notification
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2016-02-01 16:19:08 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-02 00:20:47 +0000
commitb1fc1b83eb6eb10a7ebaff22c76082c3f0629f36 (patch)
treee60f5a4f77cbd196d75e1f03e5b7a8153941b4b6 /chrome/browser/download/notification
parent913701b1fa2ea8a63f095454d8147d1a3b8262af (diff)
downloadchromium_src-b1fc1b83eb6eb10a7ebaff22c76082c3f0629f36.zip
chromium_src-b1fc1b83eb6eb10a7ebaff22c76082c3f0629f36.tar.gz
chromium_src-b1fc1b83eb6eb10a7ebaff22c76082c3f0629f36.tar.bz2
Update chrome for new prefs location.
This is a search-and-replace update for includes with "base/prefs" -> "components/prefs" and the headers re-sorted in the chrome directory. DEPS files were updated to allow the components in question to depend on components/prefs. chrome/DEPS was updated to whitelist all components rather than listing all the ones it uses out individually. Checkdeps is a tool to enforce layering, and Chrome is allowed to depend on any component, so listing each one it uses doesn't help anything. This should be a no-op from a build perspective. BUG=583034 TBR=jam@chromium.org Review URL: https://codereview.chromium.org/1658793002 Cr-Commit-Position: refs/heads/master@{#372827}
Diffstat (limited to 'chrome/browser/download/notification')
-rw-r--r--chrome/browser/download/notification/download_item_notification.cc2
-rw-r--r--chrome/browser/download/notification/download_notification_browsertest.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/download/notification/download_item_notification.cc b/chrome/browser/download/notification/download_item_notification.cc
index 4c48127..248698291 100644
--- a/chrome/browser/download/notification/download_item_notification.cc
+++ b/chrome/browser/download/notification/download_item_notification.cc
@@ -8,7 +8,6 @@
#include <stdint.h>
#include "base/files/file_util.h"
-#include "base/prefs/pref_service.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
@@ -24,6 +23,7 @@
#include "chrome/grit/chromium_strings.h"
#include "chrome/grit/generated_resources.h"
#include "components/mime_util/mime_util.h"
+#include "components/prefs/pref_service.h"
#include "components/url_formatter/elide_url.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
diff --git a/chrome/browser/download/notification/download_notification_browsertest.cc b/chrome/browser/download/notification/download_notification_browsertest.cc
index ea910c5..98f81ea 100644
--- a/chrome/browser/download/notification/download_notification_browsertest.cc
+++ b/chrome/browser/download/notification/download_notification_browsertest.cc
@@ -9,7 +9,6 @@
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
#include "base/path_service.h"
-#include "base/prefs/pref_service.h"
#include "base/run_loop.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
@@ -29,6 +28,7 @@
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "chromeos/chromeos_switches.h"
+#include "components/prefs/pref_service.h"
#include "components/signin/core/browser/signin_manager_base.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/download_item.h"