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

Unified Diff: chrome/test/testing_profile.h

Issue 7346024: Get rid of the ProfileId. It was added for ceee. I reverted the original change, since it led to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/test/testing_profile.h
===================================================================
--- chrome/test/testing_profile.h (revision 92309)
+++ chrome/test/testing_profile.h (working copy)
@@ -133,25 +133,15 @@
TestingPrefService* GetTestingPrefService();
virtual TestingProfile* AsTestingProfile();
-
virtual std::string GetProfileName();
- virtual ProfileId GetRuntimeId();
-
virtual FilePath GetPath();
-
- // Sets whether we're incognito. Default is false.
- void set_incognito(bool incognito) {
- incognito_ = incognito;
- }
+ void set_incognito(bool incognito) { incognito_ = incognito; }
virtual bool IsOffTheRecord();
// Assumes ownership.
virtual void SetOffTheRecordProfile(Profile* profile);
virtual Profile* GetOffTheRecordProfile();
-
virtual void DestroyOffTheRecordProfile() {}
-
virtual bool HasOffTheRecordProfile();
-
virtual Profile* GetOriginalProfile();
void SetAppCacheService(ChromeAppCacheService* appcache_service);
virtual ChromeAppCacheService* GetAppCacheService();
@@ -401,18 +391,4 @@
scoped_refptr<ChromeAppCacheService> appcache_service_;
};
-// A profile that derives from another profile. This does not actually
-// override anything except the GetRuntimeId() in order to test sharing of
-// site information.
-class DerivedTestingProfile : public TestingProfile {
- public:
- explicit DerivedTestingProfile(Profile* profile);
- virtual ~DerivedTestingProfile();
-
- virtual ProfileId GetRuntimeId();
-
- protected:
- Profile* original_profile_;
-};
-
#endif // CHROME_TEST_TESTING_PROFILE_H_
« no previous file with comments | « chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc ('k') | chrome/test/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698