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

Unified Diff: chrome/browser/profiles/profile_io_data.h

Issue 9235004: [Garbled Text][Infobar] Adding infobar to suggest turning on encoding detection. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years, 11 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
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698