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

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

Issue 9834056: Moved WebDataService to ProfileKeyedService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unchanged file Created 8 years, 9 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/base/testing_profile.h
diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h
index cc31f9cd52284e345cf24d6dd8a56132d043074b..317e6a4cd77454d3693366826a5276d712168128 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -107,12 +107,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();
@@ -200,8 +194,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.
@@ -292,10 +284,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();
@@ -319,9 +307,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_;
-
// The TemplateURLFetcher. Only created if CreateTemplateURLFetcher is
// invoked.
scoped_ptr<TemplateURLFetcher> template_url_fetcher_;

Powered by Google App Engine
This is Rietveld 408576698