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

Unified Diff: chrome/browser/sessions/tab_restore_service_factory.h

Issue 1350653004: [sessions] Properly namespace recently-componentized TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac Created 5 years, 3 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/sessions/tab_restore_service_factory.h
diff --git a/chrome/browser/sessions/tab_restore_service_factory.h b/chrome/browser/sessions/tab_restore_service_factory.h
index a069d7148aa24f86423ab23a59c1774675203683..20b82ccf397bea8c37cf86b15590fd7e9d0d7f50 100644
--- a/chrome/browser/sessions/tab_restore_service_factory.h
+++ b/chrome/browser/sessions/tab_restore_service_factory.h
@@ -8,19 +8,22 @@
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
-class TabRestoreService;
class Profile;
+namespace sessions {
+class TabRestoreService;
+}
+
// Singleton that owns all TabRestoreServices and associates them with
// Profiles. Listens for the Profile's destruction notification and cleans up
// the associated TabRestoreService.
class TabRestoreServiceFactory : public BrowserContextKeyedServiceFactory {
public:
- static TabRestoreService* GetForProfile(Profile* profile);
+ static sessions::TabRestoreService* GetForProfile(Profile* profile);
// Variant of GetForProfile() that returns NULL if TabRestoreService does not
// exist.
- static TabRestoreService* GetForProfileIfExisting(Profile* profile);
+ static sessions::TabRestoreService* GetForProfileIfExisting(Profile* profile);
static void ResetForProfile(Profile* profile);
« no previous file with comments | « chrome/browser/sessions/tab_restore_browsertest.cc ('k') | chrome/browser/sessions/tab_restore_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698