Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2201)

Unified Diff: chrome/browser/background/background_mode_manager.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/background/background_mode_manager.h
diff --git a/chrome/browser/background/background_mode_manager.h b/chrome/browser/background/background_mode_manager.h
index c97204830fc4ddc51b8ad8ed25bfd4826640dfe2..be5f5fed985bdca4392a403623e2d62ccdbb8a09 100644
--- a/chrome/browser/background/background_mode_manager.h
+++ b/chrome/browser/background/background_mode_manager.h
@@ -20,13 +20,16 @@
class Browser;
class CommandLine;
-class Extension;
class PrefService;
class Profile;
class ProfileInfoCache;
class StatusIcon;
class StatusTray;
+namespace extensions {
+class Extension;
+}
+
// BackgroundModeManager is responsible for switching Chrome into and out of
// "background mode" and for providing UI for the user to exit Chrome when there
// are no open browser windows.
@@ -56,7 +59,7 @@ class BackgroundModeManager
virtual void RegisterProfile(Profile* profile);
static void LaunchBackgroundApplication(Profile* profile,
- const Extension* extension);
+ const extensions::Extension* extension);
// For testing purposes.
int NumberOfBackgroundModeData();
@@ -153,7 +156,7 @@ class BackgroundModeManager
const content::NotificationDetails& details) OVERRIDE;
// BackgroundApplicationListModel::Observer implementation.
- virtual void OnApplicationDataChanged(const Extension* extension,
+ virtual void OnApplicationDataChanged(const extensions::Extension* extension,
Profile* profile) OVERRIDE;
virtual void OnApplicationListChanged(Profile* profile) OVERRIDE;
@@ -177,7 +180,7 @@ class BackgroundModeManager
// Invoked when an extension is installed so we can ensure that
// launch-on-startup is enabled if appropriate. |extension| can be NULL when
// called from unit tests.
- void OnBackgroundAppInstalled(const Extension* extension);
+ void OnBackgroundAppInstalled(const extensions::Extension* extension);
// Called to make sure that our launch-on-startup mode is properly set.
// (virtual so we can override for tests).
@@ -185,7 +188,7 @@ class BackgroundModeManager
// Invoked when a background app is installed so we can display a
// platform-specific notification to the user.
- void DisplayAppInstalledNotification(const Extension* extension);
+ void DisplayAppInstalledNotification(const extensions::Extension* extension);
// Invoked to put Chrome in KeepAlive mode - chrome runs in the background
// and has a status bar icon.

Powered by Google App Engine
This is Rietveld 408576698