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

Unified Diff: apps/app_restore_service.h

Issue 11829055: Create top level apps component and move some apps code there. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 7 years, 11 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
« no previous file with comments | « apps/DEPS ('k') | apps/app_restore_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « apps/DEPS ('k') | apps/app_restore_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698