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

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

Issue 815983002: Topsites become keyedService based. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove extra inclusion from testing_profile.h Created 5 years, 11 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/chrome_browser.gypi ('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 fc95195345f24edeb96e5134b5d4879a5dc14e6b..4d7827889384cf5c9f047cff3cf38f5cac26b287 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -183,11 +183,6 @@ class TestingProfile : public Profile {
// loading.
void CreateTopSites();
- // Allows to set a test implementation |top_sites|. Testing profile owns
- // the reference and is responsible for releasing memory.
- void SetTopSites(history::TopSites* top_sites);
-
- // Shuts down and nulls out the reference to TopSites.
void DestroyTopSites();
// Creates the BookmarkBarModel. If not invoked the bookmark bar model is
@@ -281,9 +276,6 @@ class TestingProfile : public Profile {
PrefService* GetPrefs() override;
- history::TopSites* GetTopSites() override;
- history::TopSites* GetTopSitesWithoutCreating() override;
-
net::URLRequestContextGetter* GetMediaRequestContext() override;
net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
int renderer_child_id) override;
@@ -379,7 +371,6 @@ class TestingProfile : public Profile {
scoped_refptr<HostContentSettingsMap> host_content_settings_map_;
base::FilePath last_selected_directory_;
- scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails.
#if defined(ENABLE_EXTENSIONS)
scoped_refptr<ExtensionSpecialStoragePolicy>
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698