| 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 65a94f6b17a34114cf390b1a153695cc3d7d67ca..e4a41065f3a45340774afb10e02a9569c4f1abbe 100644
|
| --- a/chrome/browser/profiles/profile_io_data.h
|
| +++ b/chrome/browser/profiles/profile_io_data.h
|
| @@ -22,6 +22,7 @@
|
| #include "net/http/http_network_session.h"
|
| #include "net/url_request/url_request_job_factory.h"
|
|
|
| +class ChromeHttpUserAgentSettings;
|
| class CookieSettings;
|
| class DesktopNotificationService;
|
| class ExtensionInfoMap;
|
| @@ -184,8 +185,6 @@ class ProfileIOData {
|
| ~ProfileParams();
|
|
|
| FilePath path;
|
| - std::string accept_language;
|
| - std::string accept_charset;
|
| std::string referrer_charset;
|
| IOThread* io_thread;
|
| scoped_refptr<CookieSettings> cookie_settings;
|
| @@ -210,6 +209,9 @@ class ProfileIOData {
|
| // because on linux it relies on initializing things through gconf,
|
| // and needs to be on the main thread.
|
| scoped_ptr<net::ProxyConfigService> proxy_config_service;
|
| + // We need to initialize the ChromeHttpUserAgentSettings on the UI thread
|
| + // so it can sign up for notifications from the PrefService.
|
| + scoped_ptr<ChromeHttpUserAgentSettings> chrome_http_user_agent_settings;
|
| // The profile this struct was populated from. It's passed as a void* to
|
| // ensure it's not accidently used on the IO thread. Before using it on the
|
| // UI thread, call ProfileManager::IsValidProfile to ensure it's alive.
|
| @@ -425,6 +427,9 @@ class ProfileIOData {
|
| mutable scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver>
|
| resource_prefetch_predictor_observer_;
|
|
|
| + mutable scoped_ptr<ChromeHttpUserAgentSettings>
|
| + chrome_http_user_agent_settings_;
|
| +
|
| mutable chrome_browser_net::LoadTimeStats* load_time_stats_;
|
|
|
| // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
|
|
|