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

Side by Side Diff: chrome/browser/profiles/profile_io_data.h

Issue 1786263002: Remove uses of ENABLE_CONFIGURATION_POLICY from src/chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sort Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 IntegerPrefMember* incognito_availibility() const { 207 IntegerPrefMember* incognito_availibility() const {
208 return &incognito_availibility_pref_; 208 return &incognito_availibility_pref_;
209 } 209 }
210 210
211 chrome_browser_net::ResourcePrefetchPredictorObserver* 211 chrome_browser_net::ResourcePrefetchPredictorObserver*
212 resource_prefetch_predictor_observer() const { 212 resource_prefetch_predictor_observer() const {
213 return resource_prefetch_predictor_observer_.get(); 213 return resource_prefetch_predictor_observer_.get();
214 } 214 }
215 215
216 #if defined(ENABLE_CONFIGURATION_POLICY)
217 policy::PolicyHeaderIOHelper* policy_header_helper() const { 216 policy::PolicyHeaderIOHelper* policy_header_helper() const {
218 return policy_header_helper_.get(); 217 return policy_header_helper_.get();
219 } 218 }
220 #endif
221 219
222 #if defined(ENABLE_SUPERVISED_USERS) 220 #if defined(ENABLE_SUPERVISED_USERS)
223 const SupervisedUserURLFilter* supervised_user_url_filter() const { 221 const SupervisedUserURLFilter* supervised_user_url_filter() const {
224 return supervised_user_url_filter_.get(); 222 return supervised_user_url_filter_.get();
225 } 223 }
226 #endif 224 #endif
227 225
228 // Initialize the member needed to track the metrics enabled state. This is 226 // Initialize the member needed to track the metrics enabled state. This is
229 // only to be called on the UI thread. 227 // only to be called on the UI thread.
230 void InitializeMetricsEnabledStateOnUIThread(); 228 void InitializeMetricsEnabledStateOnUIThread();
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 mutable BooleanPrefMember sync_disabled_; 519 mutable BooleanPrefMember sync_disabled_;
522 mutable BooleanPrefMember signin_allowed_; 520 mutable BooleanPrefMember signin_allowed_;
523 mutable IntegerPrefMember network_prediction_options_; 521 mutable IntegerPrefMember network_prediction_options_;
524 // TODO(marja): Remove session_startup_pref_ if no longer needed. 522 // TODO(marja): Remove session_startup_pref_ if no longer needed.
525 mutable IntegerPrefMember session_startup_pref_; 523 mutable IntegerPrefMember session_startup_pref_;
526 mutable BooleanPrefMember quick_check_enabled_; 524 mutable BooleanPrefMember quick_check_enabled_;
527 mutable IntegerPrefMember incognito_availibility_pref_; 525 mutable IntegerPrefMember incognito_availibility_pref_;
528 526
529 BooleanPrefMember enable_metrics_; 527 BooleanPrefMember enable_metrics_;
530 528
531 #if defined(ENABLE_CONFIGURATION_POLICY)
532 // Pointed to by NetworkDelegate. 529 // Pointed to by NetworkDelegate.
533 mutable scoped_ptr<policy::URLBlacklistManager> url_blacklist_manager_; 530 mutable scoped_ptr<policy::URLBlacklistManager> url_blacklist_manager_;
534 mutable scoped_ptr<policy::PolicyHeaderIOHelper> policy_header_helper_; 531 mutable scoped_ptr<policy::PolicyHeaderIOHelper> policy_header_helper_;
535 #endif
536 532
537 // Pointed to by URLRequestContext. 533 // Pointed to by URLRequestContext.
538 #if defined(ENABLE_EXTENSIONS) 534 #if defined(ENABLE_EXTENSIONS)
539 mutable scoped_refptr<extensions::InfoMap> extension_info_map_; 535 mutable scoped_refptr<extensions::InfoMap> extension_info_map_;
540 #endif 536 #endif
541 mutable scoped_ptr<net::ChannelIDService> channel_id_service_; 537 mutable scoped_ptr<net::ChannelIDService> channel_id_service_;
542 538
543 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyIOData> 539 mutable scoped_ptr<data_reduction_proxy::DataReductionProxyIOData>
544 data_reduction_proxy_io_data_; 540 data_reduction_proxy_io_data_;
545 541
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 594
599 // TODO(jhawkins): Remove once crbug.com/102004 is fixed. 595 // TODO(jhawkins): Remove once crbug.com/102004 is fixed.
600 bool initialized_on_UI_thread_; 596 bool initialized_on_UI_thread_;
601 597
602 const Profile::ProfileType profile_type_; 598 const Profile::ProfileType profile_type_;
603 599
604 DISALLOW_COPY_AND_ASSIGN(ProfileIOData); 600 DISALLOW_COPY_AND_ASSIGN(ProfileIOData);
605 }; 601 };
606 602
607 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_ 603 #endif // CHROME_BROWSER_PROFILES_PROFILE_IO_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698