Index: apps/app_restore_service.h |
diff --git a/chrome/browser/extensions/app_restore_service.h b/apps/app_restore_service.h |
similarity index 93% |
rename from chrome/browser/extensions/app_restore_service.h |
rename to apps/app_restore_service.h |
index 13c301aec8cc745646b230a5a87e323d3f067bbe..f919a7a7f754ebb7a7375d48b1798834c3be9ae6 100644 |
--- a/chrome/browser/extensions/app_restore_service.h |
+++ b/apps/app_restore_service.h |
@@ -5,17 +5,19 @@ |
#ifndef CHROME_BROWSER_EXTENSIONS_APP_RESTORE_SERVICE_H_ |
#define CHROME_BROWSER_EXTENSIONS_APP_RESTORE_SERVICE_H_ |
+#include <string> |
+ |
#include "chrome/browser/profiles/profile_keyed_service.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
-#include <string> |
- |
class Profile; |
namespace extensions { |
- |
class Extension; |
+} |
+ |
+namespace apps { |
// Tracks what apps need to be restarted when the browser restarts. |
class AppRestoreService : public ProfileKeyedService, |
@@ -35,12 +37,12 @@ class AppRestoreService : public ProfileKeyedService, |
void RecordAppStart(const std::string& extension_id); |
void RecordAppStop(const std::string& extension_id); |
- void RestoreApp(const Extension* extension); |
+ void RestoreApp(const extensions::Extension* extension); |
content::NotificationRegistrar registrar_; |
Profile* profile_; |
}; |
-} // namespace extensions |
+} // namespace apps |
#endif // CHROME_BROWSER_EXTENSIONS_APP_RESTORE_SERVICE_H_ |