diff options
author | guohui@google.com <guohui@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-20 20:06:55 +0000 |
---|---|---|
committer | guohui@google.com <guohui@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-20 20:06:55 +0000 |
commit | 27e96a97391301dc58bf64ecd63573b2ebc0eb92 (patch) | |
tree | 3486514212890b323ab8553c12e9d8a26fb72de1 /chrome/browser/prefs | |
parent | edca205868de864a21b709b402e772ecceb4ea08 (diff) | |
download | chromium_src-27e96a97391301dc58bf64ecd63573b2ebc0eb92.zip chromium_src-27e96a97391301dc58bf64ecd63573b2ebc0eb92.tar.gz chromium_src-27e96a97391301dc58bf64ecd63573b2ebc0eb92.tar.bz2 |
Make NTP4 bubble profile independent
BUG=99503
TEST=Dismiss NTP4 bubble and create a new profile. Confirm that the NTP4 bubble does not show up for the new profile.
Review URL: http://codereview.chromium.org/8244009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106553 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prefs')
-rw-r--r-- | chrome/browser/prefs/browser_prefs.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc index 8b1420a..f82d27d 100644 --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc @@ -52,6 +52,7 @@ #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" #include "chrome/browser/ui/webui/flags_ui.h" +#include "chrome/browser/ui/webui/ntp/new_tab_page_handler.h" #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" #include "chrome/browser/ui/webui/options/extension_settings_handler.h" #include "chrome/browser/ui/webui/plugins_ui.h" @@ -103,8 +104,10 @@ void RegisterLocalState(PrefService* local_state) { KeywordEditorController::RegisterPrefs(local_state); MetricsLog::RegisterPrefs(local_state); MetricsService::RegisterPrefs(local_state); + NewTabPageHandler::RegisterPrefs(local_state); printing::PrintJobManager::RegisterPrefs(local_state); PromoResourceService::RegisterPrefs(local_state); + #if defined(ENABLE_SAFE_BROWSING) SafeBrowsingService::RegisterPrefs(local_state); #endif |