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

Unified Diff: chrome/test/base/testing_profile.h

Issue 297193002: Cleanup: Remove unused bits of TestingProfile. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 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
« no previous file with comments | « no previous file | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.h
===================================================================
--- chrome/test/base/testing_profile.h (revision 272613)
+++ chrome/test/base/testing_profile.h (working copy)
@@ -18,10 +18,6 @@
class MockResourceContext;
}
-namespace extensions {
-class ExtensionPrefs;
-}
-
namespace history {
class TopSites;
}
@@ -45,8 +41,6 @@
class ExtensionSpecialStoragePolicy;
class HostContentSettingsMap;
class PrefServiceSyncable;
-class ProfileSyncService;
-class TemplateURLService;
class TestingPrefServiceSyncable;
class TestingProfile : public Profile {
@@ -309,17 +303,9 @@
content::ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE;
virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
- virtual std::wstring GetName();
- virtual void SetName(const std::wstring& name) {}
- virtual std::wstring GetID();
- virtual void SetID(const std::wstring& id);
void set_last_session_exited_cleanly(bool value) {
last_session_exited_cleanly_ = value;
}
- virtual void MergeResourceString(int message_id,
- std::wstring* output_string) {}
- virtual void MergeResourceInteger(int message_id, int* output_value) {}
- virtual void MergeResourceBoolean(int message_id, bool* output_value) {}
virtual bool IsSameProfile(Profile *p) OVERRIDE;
virtual base::Time GetStartTime() const OVERRIDE;
virtual base::FilePath last_selected_directory() OVERRIDE;
@@ -387,8 +373,6 @@
// request context. Currently, only the CookieMonster is hooked up.
scoped_refptr<net::URLRequestContextGetter> extensions_request_context_;
- std::wstring id_;
-
bool incognito_;
bool force_incognito_;
scoped_ptr<Profile> incognito_profile_;
« no previous file with comments | « no previous file | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698