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

Unified Diff: chrome/test/testing_profile.h

Issue 6901031: Profile shouldn't own Session/TabRestore services. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again and hope upload works this time Created 9 years, 8 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 | « chrome/test/live_sync/live_sessions_sync_test.cc ('k') | chrome/test/testing_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/testing_profile.h
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h
index c82e5e317bbaacaba4d66e4667d8f93f04b1925b..ef6de3aed46b59d5bc17e10ae513136f705ec9bc 100644
--- a/chrome/test/testing_profile.h
+++ b/chrome/test/testing_profile.h
@@ -44,7 +44,6 @@ class HostContentSettingsMap;
class PrefService;
class ProfileDependencyManager;
class ProfileSyncService;
-class SessionService;
class TemplateURLModel;
class TestingPrefService;
class ThemeService;
@@ -223,10 +222,6 @@ class TestingProfile : public Profile {
virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap();
virtual GeolocationPermissionContext* GetGeolocationPermissionContext();
virtual HostZoomMap* GetHostZoomMap();
- void set_session_service(SessionService* session_service);
- virtual SessionService* GetSessionService();
- virtual void ShutdownSessionService() {}
- virtual bool HasSessionService() const;
virtual bool HasProfileSyncService() const;
virtual std::wstring GetName();
virtual void SetName(const std::wstring& name) {}
@@ -243,9 +238,7 @@ class TestingProfile : public Profile {
virtual BookmarkModel* GetBookmarkModel();
virtual bool IsSameProfile(Profile *p);
virtual base::Time GetStartTime() const;
- virtual TabRestoreService* GetTabRestoreService();
virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry();
- virtual void ResetTabRestoreService() {}
virtual SpellCheckHost* GetSpellCheckHost();
virtual void ReinitializeSpellCheckHost(bool force) { }
virtual WebKitContext* GetWebKitContext();
@@ -347,9 +340,6 @@ class TestingProfile : public Profile {
scoped_ptr<NTPResourceCache> ntp_resource_cache_;
- // The SessionService. Defaults to NULL, but can be set using the setter.
- scoped_ptr<SessionService> session_service_;
-
// Internally, this is a TestURLRequestContextGetter that creates a dummy
// request context. Currently, only the CookieMonster is hooked up.
scoped_refptr<net::URLRequestContextGetter> request_context_;
« no previous file with comments | « chrome/test/live_sync/live_sessions_sync_test.cc ('k') | chrome/test/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698