| Index: chrome/browser/profiles/off_the_record_profile_impl.h
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_impl.h b/chrome/browser/profiles/off_the_record_profile_impl.h
|
| index 5010e97fdfd8d2edce72603aa5da44e5b33d0381..6cd4fd5cc261ee40f20a50c6b4361bc623b642e0 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_impl.h
|
| +++ b/chrome/browser/profiles/off_the_record_profile_impl.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "build/build_config.h"
|
| +#include "chrome/browser/net/net_pref_observer.h"
|
| #include "chrome/browser/profiles/off_the_record_profile_io_data.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser_list.h"
|
| @@ -122,12 +123,18 @@ class OffTheRecordProfileImpl : public Profile {
|
| const content::HostZoomMap::ZoomLevelChange& change);
|
| void UpdateDefaultZoomLevel();
|
|
|
| + // Called on UI thread thread when net parameters change (e.g. due to policy).
|
| + void UpdateNetParams(NetPrefObserver::NetParamsChange net_params_change);
|
| +
|
| // The real underlying profile.
|
| Profile* profile_;
|
|
|
| // Weak pointer owned by |profile_|.
|
| sync_preferences::PrefServiceSyncable* prefs_;
|
|
|
| + // Observes |prefs_| for net parameter changes.
|
| + std::unique_ptr<NetPrefObserver> net_pref_observer_;
|
| +
|
| std::unique_ptr<content::HostZoomMap::Subscription> track_zoom_subscription_;
|
| std::unique_ptr<ChromeZoomLevelPrefs::DefaultZoomLevelSubscription>
|
| parent_default_zoom_level_subscription_;
|
|
|