summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-22 20:53:44 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-22 20:53:44 +0000
commitb569c11767085b8e4b440d51b3bb84740a91f204 (patch)
tree2249778ad3d12ccbfdcebc89ff8f52f3a699a5b6 /chrome/browser/prefs
parentca6c990f200c470f2f026ccafac39e29a23c26f2 (diff)
downloadchromium_src-b569c11767085b8e4b440d51b3bb84740a91f204.zip
chromium_src-b569c11767085b8e4b440d51b3bb84740a91f204.tar.gz
chromium_src-b569c11767085b8e4b440d51b3bb84740a91f204.tar.bz2
Display badge when new background page is installed.
Added BackgroundPageTracker which tracks which extensions/apps contain background pages. Added code to wrench menu/toolbar to display a badge when there is a new background page added to the system. BUG=59980 TEST=BackgroundPageTrackerTest Review URL: http://codereview.chromium.org/5207002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prefs')
-rw-r--r--chrome/browser/prefs/browser_prefs.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 0572dbb..dcc3624 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -8,6 +8,7 @@
#include "chrome/browser/autofill/autofill_manager.h"
#include "chrome/browser/background_contents_service.h"
#include "chrome/browser/background_mode_manager.h"
+#include "chrome/browser/background_page_tracker.h"
#include "chrome/browser/bookmarks/bookmark_utils.h"
#include "chrome/browser/browser_shutdown.h"
#include "chrome/browser/debugger/devtools_manager.h"
@@ -97,6 +98,7 @@ void RegisterLocalState(PrefService* local_state) {
TaskManager::RegisterPrefs(local_state);
geolocation::RegisterPrefs(local_state);
AutoFillManager::RegisterBrowserPrefs(local_state);
+ BackgroundPageTracker::RegisterPrefs(local_state);
#if defined(OS_CHROMEOS)
chromeos::UserManager::RegisterPrefs(local_state);
chromeos::UserCrosSettingsProvider::RegisterPrefs(local_state);