summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/ntp/new_tab_ui.cc
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-10-09 14:30:46 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-09 21:31:32 +0000
commite1f0af8b5a296f334fdeb0c6d7d2563a3fd95bc1 (patch)
tree98af999b13adc270b3acfc0138ca075e825d5bb2 /chrome/browser/ui/webui/ntp/new_tab_ui.cc
parentca46ae47bc66b875e5dacc554acd68500f92ccf8 (diff)
downloadchromium_src-e1f0af8b5a296f334fdeb0c6d7d2563a3fd95bc1.zip
chromium_src-e1f0af8b5a296f334fdeb0c6d7d2563a3fd95bc1.tar.gz
chromium_src-e1f0af8b5a296f334fdeb0c6d7d2563a3fd95bc1.tar.bz2
Remove forward includes of component pref names in Chrome's list.
Previously chrome/common/pref_names.h included pref name headers from some components. Presumably these were added when the corresponding code was componentized to avoid updating all callers. However, this causes problems for GN's dependency checker, which correctly identifies that these includes lack a dependency to go with them. This removes the forward includes and adds the proper finer-grained includes where necessary. I tried to remove the include for pref_names.h in a few places where it is no longer needed. Move some out BUG= Review URL: https://codereview.chromium.org/1395863003 Cr-Commit-Position: refs/heads/master@{#353388}
Diffstat (limited to 'chrome/browser/ui/webui/ntp/new_tab_ui.cc')
-rw-r--r--chrome/browser/ui/webui/ntp/new_tab_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.cc b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
index e92c3f2d..4053d8f 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.cc
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.cc
@@ -23,9 +23,9 @@
#include "chrome/browser/ui/webui/ntp/ntp_resource_cache.h"
#include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h"
#include "chrome/browser/ui/webui/ntp/ntp_user_data_logger.h"
-#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
#include "chrome/grit/generated_resources.h"
+#include "components/bookmarks/common/bookmark_pref_names.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"