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

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: Rebase to r288093. 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 d49df37d25c58acc61a6d9a838facc2c1b7bd1f9..6eb7c0815ddc3df9d2dd5046f76c6fcde1d1d435 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -643,6 +643,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();
@@ -828,6 +829,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