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

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

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 years, 4 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.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 7aede511fc9e3fff3b7c812e33c4eab4f72feda3..a86606175137f94f721b92c1d0241e4f67e1e303 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -645,6 +645,7 @@ Profile* TestingProfile::GetOffTheRecordProfile() {
builder.SetIncognito();
scoped_ptr<TestingProfile> incognito_test_profile(builder.Build());
incognito_test_profile->SetOriginalProfile(this);
+ incognito_test_profile->TrackZoomLevelsFromParent(this);
SetOffTheRecordProfile(incognito_test_profile.PassAs<Profile>());
}
return incognito_profile_.get();
@@ -830,6 +831,10 @@ content::PushMessagingService* TestingProfile::GetPushMessagingService() {
return NULL;
}
+double TestingProfile::GetDefaultZoomLevel() const {
+ return 0.0;
+}
+
bool TestingProfile::IsSameProfile(Profile *p) {
return this == p;
}

Powered by Google App Engine
This is Rietveld 408576698