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..c9dbab0c5c86c081cd2357d434089d8e6ec61611 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 IO thread thread when net parameters change. |
+ void UpdateNetParamsOnIOThread( |
+ net::HttpNetworkSession::ParamsUpdate params_update); |
mmenke
2017/01/06 16:18:43
include http_network_session.h
pmarko
2017/01/08 20:51:48
Not necessary anymore as NetHttpSessionParamsObser
|
// 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_; |
mmenke
2017/01/06 16:18:43
include <memory>
pmarko
2017/01/08 20:51:48
Not necessary anymore as NetHttpSessionParamsObser
|
+ |
std::unique_ptr<content::HostZoomMap::Subscription> track_zoom_subscription_; |
std::unique_ptr<ChromeZoomLevelPrefs::DefaultZoomLevelSubscription> |
parent_default_zoom_level_subscription_; |