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

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

Issue 9949024: Moved WebDataService to ProfileKeyedService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-base Created 8 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/base/profile_mock.h ('k') | 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
diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h
index 44124168f95387abe9b6a604a67698a6ec89f30f..372cf1d64684895757ea3207388747f8737ae3ce 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -106,12 +106,6 @@ class TestingProfile : public Profile {
// registry is NULL.
void CreateProtocolHandlerRegistry();
- // Creates the webdata service. If |delete_file| is true, the webdata file is
- // deleted first, then the WebDataService is created. As TestingProfile
- // deletes the directory containing the files used by WebDataService, this
- // only matters if you're recreating the WebDataService.
- void CreateWebDataService(bool delete_file);
-
// Blocks until the BookmarkModel finishes loaded. This is NOT invoked from
// CreateBookmarkModel.
void BlockUntilBookmarkModelLoaded();
@@ -179,8 +173,6 @@ class TestingProfile : public Profile {
net::CookieMonster* GetCookieMonster();
virtual AutocompleteClassifier* GetAutocompleteClassifier() OVERRIDE;
virtual history::ShortcutsBackend* GetShortcutsBackend() OVERRIDE;
- virtual WebDataService* GetWebDataService(ServiceAccessType access) OVERRIDE;
- virtual WebDataService* GetWebDataServiceWithoutCreating() OVERRIDE;
// Sets the profile's PrefService. If a pref service hasn't been explicitly
// set GetPrefs creates one, so normally you need not invoke this. If you need
// to set a pref service you must invoke this before GetPrefs.
@@ -266,10 +258,6 @@ class TestingProfile : public Profile {
// Destroys favicon service if it has been created.
void DestroyFaviconService();
- // If the webdata service has been created, it is destroyed. This is invoked
- // from the destructor.
- void DestroyWebDataService();
-
// Creates a TestingPrefService and associates it with the TestingProfile.
void CreateTestingPrefService();
@@ -293,9 +281,6 @@ class TestingProfile : public Profile {
// is invoked.
scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
- // The WebDataService. Only created if CreateWebDataService is invoked.
- scoped_refptr<WebDataService> web_data_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/base/profile_mock.h ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698