| Index: chrome/browser/profiles/profile.cc
|
| diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
|
| index f57decdc2f4ff8c68a4af47d201ae6629bd9ff3c..ebe8fbbb95bcb14546f481fa214613c5ba7f35d5 100644
|
| --- a/chrome/browser/profiles/profile.cc
|
| +++ b/chrome/browser/profiles/profile.cc
|
| @@ -17,8 +17,10 @@
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_prefs.h"
|
| #include "components/pref_registry/pref_registry_syncable.h"
|
| #include "components/sync_driver/sync_prefs.h"
|
| +#include "content/public/browser/host_zoom_map.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/notification_source.h"
|
| +#include "content/public/browser/storage_partition.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_ui.h"
|
|
|
| @@ -267,3 +269,9 @@ bool ProfileCompare::operator()(Profile* a, Profile* b) const {
|
| return false;
|
| return a->GetOriginalProfile() < b->GetOriginalProfile();
|
| }
|
| +
|
| +double Profile::GetDefaultZoomLevelForProfile() {
|
| + return GetDefaultStoragePartition(this)
|
| + ->GetHostZoomMap()
|
| + ->GetDefaultZoomLevel();
|
| +}
|
|
|