summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process.h
diff options
context:
space:
mode:
authorpetewil@chromium.org <petewil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-28 02:29:25 +0000
committerpetewil@chromium.org <petewil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-28 02:29:25 +0000
commite178ad963acc4a7fbe0ec84226d3d87462bb9d14 (patch)
treeadc5aba410f4f84a72e792e2d491e3bf68791510 /chrome/browser/browser_process.h
parent42a82bd587660fd9df526d2958bf8e465d770b23 (diff)
downloadchromium_src-e178ad963acc4a7fbe0ec84226d3d87462bb9d14.zip
chromium_src-e178ad963acc4a7fbe0ec84226d3d87462bb9d14.tar.gz
chromium_src-e178ad963acc4a7fbe0ec84226d3d87462bb9d14.tar.bz2
Don't show a "new background extension" warning when reinstalling an existing extension
Currently, we show a notification bubble whenever we upgrade or reload an extension. This change checks to see if an extension is in the process of being reloaded or upgraded before showing the notice. BUG=157464 Review URL: https://chromiumcodereview.appspot.com/13587004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process.h')
-rw-r--r--chrome/browser/browser_process.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index d6f8595..0824b1c 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -13,6 +13,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
#include "chrome/browser/browser_process_platform_part.h"
#include "chrome/browser/ui/host_desktop.h"
@@ -175,6 +176,8 @@ class BrowserProcess {
// Returns the object that manages background applications.
virtual BackgroundModeManager* background_mode_manager() = 0;
+ virtual void set_background_mode_manager_for_test(
+ scoped_ptr<BackgroundModeManager> manager) = 0;
// Returns the StatusTray, which provides an API for displaying status icons
// in the system status tray. Returns NULL if status icons are not supported