Index: chrome/browser/profiles/profile_io_data.h |
diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h |
index 1eac7a788fbc4b3710572cee98cecb9dd3702070..19a5eb86dfec3ffa029fa3928ffc5de0597cd18b 100644 |
--- a/chrome/browser/profiles/profile_io_data.h |
+++ b/chrome/browser/profiles/profile_io_data.h |
@@ -27,6 +27,8 @@ class CookieSettings; |
class DesktopNotificationService; |
class DownloadIdFactory; |
class ExtensionInfoMap; |
+class GarbledTextServiceParams; |
+class GarbledTextURLTracker; |
class HostContentSettingsMap; |
class HostZoomMap; |
class IOThread; |
@@ -115,10 +117,18 @@ class ProfileIOData { |
return &safe_browsing_enabled_; |
} |
+ BooleanPrefMember* garbled_text_fix_enabled() const { |
+ return &garbled_text_fix_enabled_; |
+ } |
+ |
net::TransportSecurityState* transport_security_state() const { |
return transport_security_state_.get(); |
} |
+ const GarbledTextURLTracker* garbled_text_url_tracker() const { |
+ return garbled_text_url_tracker_.get(); |
+ } |
+ |
protected: |
class AppRequestContext : public ChromeURLRequestContext { |
public: |
@@ -160,6 +170,7 @@ class ProfileIOData { |
scoped_refptr<ExtensionInfoMap> extension_info_map; |
DesktopNotificationService* notification_service; |
scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry; |
+ scoped_ptr<GarbledTextServiceParams> garbled_text_params; |
// We need to initialize the ProxyConfigService from the UI thread |
// because on linux it relies on initializing things through gconf, |
// and needs to be on the main thread. |
@@ -268,6 +279,10 @@ class ProfileIOData { |
mutable BooleanPrefMember enable_referrers_; |
mutable BooleanPrefMember clear_local_state_on_exit_; |
mutable BooleanPrefMember safe_browsing_enabled_; |
+ mutable BooleanPrefMember garbled_text_fix_enabled_; |
+ |
+ // Pointed to by ResourceDispatcherHostDelegate. |
+ mutable scoped_ptr<GarbledTextURLTracker> garbled_text_url_tracker_; |
// Pointed to by NetworkDelegate. |
mutable scoped_ptr<policy::URLBlacklistManager> url_blacklist_manager_; |