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

Unified Diff: chrome/browser/profiles/profile_impl.h

Issue 9834056: Moved WebDataService to ProfileKeyedService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments, fixed bug 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/browser/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index 83f498b6008ca1a7f9077332919cd28bf29dbda6..365e08ed6f63732fb62933dd609da0343942b18d 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -90,8 +90,6 @@ class ProfileImpl : public Profile,
virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE;
virtual AutocompleteClassifier* GetAutocompleteClassifier() OVERRIDE;
virtual history::ShortcutsBackend* GetShortcutsBackend() OVERRIDE;
- virtual WebDataService* GetWebDataService(ServiceAccessType sat) OVERRIDE;
- virtual WebDataService* GetWebDataServiceWithoutCreating() OVERRIDE;
virtual PrefService* GetPrefs() OVERRIDE;
virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
virtual TemplateURLFetcher* GetTemplateURLFetcher() OVERRIDE;
@@ -163,7 +161,6 @@ class ProfileImpl : public Profile,
// Does final prefs initialization and calls Init().
void OnPrefsLoaded(bool success);
- void CreateWebDataService();
FilePath GetPrefFilePath();
void StopCreateSessionServiceTimer();
@@ -247,10 +244,8 @@ class ProfileImpl : public Profile,
scoped_ptr<FaviconService> favicon_service_;
scoped_ptr<AutocompleteClassifier> autocomplete_classifier_;
scoped_refptr<history::ShortcutsBackend> shortcuts_backend_;
- scoped_refptr<WebDataService> web_data_service_;
bool history_service_created_;
bool favicon_service_created_;
- bool created_web_data_service_;
bool clear_local_state_on_exit_;
// Whether or not the last session exited cleanly. This is set only once.

Powered by Google App Engine
This is Rietveld 408576698