Chromium Code Reviews| 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 540d5ddee9aa036a899c8194cb01ef7439380450..0060690b9c1173469184f41e7e0f100f08d7c959 100644 |
| --- a/chrome/browser/profiles/profile_io_data.h |
| +++ b/chrome/browser/profiles/profile_io_data.h |
| @@ -5,6 +5,7 @@ |
| #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| +#include <map> |
|
jkarlin
2014/06/26 16:28:52
why add this?
Bence
2014/06/26 20:02:06
git cl lint was complaining. Should I ignore it?
|
| #include <string> |
| #include "base/basictypes.h" |
| @@ -185,10 +186,15 @@ class ProfileIOData { |
| return &signin_allowed_; |
| } |
| + // TODO(bnc): remove per https://crbug.com/334602. |
| BooleanPrefMember* network_prediction_enabled() const { |
| return &network_prediction_enabled_; |
| } |
| + IntegerPrefMember* allow_network_prediction() const { |
| + return &allow_network_prediction_; |
| + } |
| + |
| content::ResourceContext::SaltCallback GetMediaDeviceIDSalt() const; |
| DevToolsNetworkController* network_controller() const { |
| @@ -533,6 +539,7 @@ class ProfileIOData { |
| mutable BooleanPrefMember sync_disabled_; |
| mutable BooleanPrefMember signin_allowed_; |
| mutable BooleanPrefMember network_prediction_enabled_; |
| + mutable IntegerPrefMember allow_network_prediction_; |
| // TODO(marja): Remove session_startup_pref_ if no longer needed. |
| mutable IntegerPrefMember session_startup_pref_; |
| mutable BooleanPrefMember quick_check_enabled_; |