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

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 92020)
+++ chrome/test/testing_profile.h (working copy)
@@ -132,25 +132,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();
virtual ChromeAppCacheService* GetAppCacheService();
virtual webkit_database::DatabaseTracker* GetDatabaseTracker();
@@ -395,18 +385,4 @@
ProfileDependencyManager* profile_dependency_manager_;
};
-// 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_

Powered by Google App Engine
This is Rietveld 408576698