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

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

Issue 671593002: Do not delay most visited results. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed slow mv return condition and added unit tests Created 6 years, 2 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 b7f887b6929bfd6db43d5b01512c1fc8cd4a8f54..df2c1353adc183e54e451dc4b530687c3b5bc5e1 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -182,6 +182,10 @@ 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();

Powered by Google App Engine
This is Rietveld 408576698