| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 mutable BooleanPrefMember force_youtube_safety_mode_; | 516 mutable BooleanPrefMember force_youtube_safety_mode_; |
| 517 mutable BooleanPrefMember safe_browsing_enabled_; | 517 mutable BooleanPrefMember safe_browsing_enabled_; |
| 518 mutable BooleanPrefMember sync_disabled_; | 518 mutable BooleanPrefMember sync_disabled_; |
| 519 mutable BooleanPrefMember signin_allowed_; | 519 mutable BooleanPrefMember signin_allowed_; |
| 520 mutable IntegerPrefMember network_prediction_options_; | 520 mutable IntegerPrefMember network_prediction_options_; |
| 521 // TODO(marja): Remove session_startup_pref_ if no longer needed. | 521 // TODO(marja): Remove session_startup_pref_ if no longer needed. |
| 522 mutable IntegerPrefMember session_startup_pref_; | 522 mutable IntegerPrefMember session_startup_pref_; |
| 523 mutable BooleanPrefMember quick_check_enabled_; | 523 mutable BooleanPrefMember quick_check_enabled_; |
| 524 mutable IntegerPrefMember incognito_availibility_pref_; | 524 mutable IntegerPrefMember incognito_availibility_pref_; |
| 525 | 525 |
| 526 // The state of metrics reporting in the browser that this profile runs on. | |
| 527 // Unfortunately, since ChromeOS has a separate representation of this state, | |
| 528 // we need to make one available based on the platform. | |
| 529 #if defined(OS_CHROMEOS) | |
| 530 bool enable_metrics_; | |
| 531 #else | |
| 532 BooleanPrefMember enable_metrics_; | 526 BooleanPrefMember enable_metrics_; |
| 533 #endif | |
| 534 | 527 |
| 535 #if defined(ENABLE_CONFIGURATION_POLICY) | 528 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 536 // Pointed to by NetworkDelegate. | 529 // Pointed to by NetworkDelegate. |
| 537 mutable scoped_ptr<policy::URLBlacklistManager> url_blacklist_manager_; | 530 mutable scoped_ptr<policy::URLBlacklistManager> url_blacklist_manager_; |
| 538 mutable scoped_ptr<policy::PolicyHeaderIOHelper> policy_header_helper_; | 531 mutable scoped_ptr<policy::PolicyHeaderIOHelper> policy_header_helper_; |
| 539 #endif | 532 #endif |
| 540 | 533 |
| 541 // Pointed to by URLRequestContext. | 534 // Pointed to by URLRequestContext. |
| 542 #if defined(ENABLE_EXTENSIONS) | 535 #if defined(ENABLE_EXTENSIONS) |
| 543 mutable scoped_refptr<extensions::InfoMap> extension_info_map_; | 536 mutable scoped_refptr<extensions::InfoMap> extension_info_map_; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 | 593 |
| 601 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. | 594 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. |
| 602 bool initialized_on_UI_thread_; | 595 bool initialized_on_UI_thread_; |
| 603 | 596 |
| 604 const Profile::ProfileType profile_type_; | 597 const Profile::ProfileType profile_type_; |
| 605 | 598 |
| 606 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); | 599 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); |
| 607 }; | 600 }; |
| 608 | 601 |
| 609 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ | 602 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ |
| OLD | NEW |