| 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 2f892ed9705340dff99fe79fe7e0f3f351b0146f..3447f91550df04575a09e3f642c9dbb8610ef311 100644
|
| --- a/chrome/browser/profiles/profile_io_data.h
|
| +++ b/chrome/browser/profiles/profile_io_data.h
|
| @@ -107,6 +107,10 @@ class ProfileIOData {
|
| return &safe_browsing_enabled_;
|
| }
|
|
|
| + BooleanPrefMember* enable_metrics() const {
|
| + return &enable_metrics_;
|
| + }
|
| +
|
| net::TransportSecurityState* transport_security_state() const {
|
| return transport_security_state_.get();
|
| }
|
| @@ -114,6 +118,10 @@ class ProfileIOData {
|
| chrome_browser_net::HttpServerPropertiesManager*
|
| http_server_properties_manager() const;
|
|
|
| + bool is_incognito() const {
|
| + return is_incognito_;
|
| + }
|
| +
|
| protected:
|
| class AppRequestContext : public ChromeURLRequestContext {
|
| public:
|
| @@ -136,7 +144,6 @@ class ProfileIOData {
|
| ~ProfileParams();
|
|
|
| FilePath path;
|
| - bool is_incognito;
|
| bool clear_local_state_on_exit;
|
| std::string accept_language;
|
| std::string accept_charset;
|
| @@ -290,6 +297,7 @@ class ProfileIOData {
|
|
|
| // Member variables which are pointed to by the various context objects.
|
| mutable BooleanPrefMember enable_referrers_;
|
| + mutable BooleanPrefMember enable_metrics_;
|
| mutable BooleanPrefMember clear_local_state_on_exit_;
|
| mutable BooleanPrefMember safe_browsing_enabled_;
|
| // TODO(marja): Remove session_startup_pref_ if no longer needed.
|
| @@ -333,6 +341,8 @@ class ProfileIOData {
|
| // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
|
| bool initialized_on_UI_thread_;
|
|
|
| + bool is_incognito_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
|
| };
|
|
|
|
|