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

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

Issue 2337233006: CL for src perf tryjob to run page_cycler_v2.intl_ko_th_vi benchmark on all-android platform(s)
Patch Set: Created 4 years, 3 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
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 #include "chrome/browser/profiles/profile_io_data.h" 5 #include "chrome/browser/profiles/profile_io_data.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 bool ProfileIOData::GetMetricsEnabledStateOnIOThread() const { 912 bool ProfileIOData::GetMetricsEnabledStateOnIOThread() const {
913 DCHECK_CURRENTLY_ON(BrowserThread::IO); 913 DCHECK_CURRENTLY_ON(BrowserThread::IO);
914 return enable_metrics_.GetValue(); 914 return enable_metrics_.GetValue();
915 } 915 }
916 916
917 bool ProfileIOData::IsDataReductionProxyEnabled() const { 917 bool ProfileIOData::IsDataReductionProxyEnabled() const {
918 return data_reduction_proxy_io_data() && 918 return data_reduction_proxy_io_data() &&
919 data_reduction_proxy_io_data()->IsEnabled(); 919 data_reduction_proxy_io_data()->IsEnabled();
920 } 920 }
921 921
922 chrome_browser_net::Predictor* ProfileIOData::GetPredictor() {
923 return nullptr;
924 }
925
926 std::unique_ptr<net::ClientCertStore> ProfileIOData::CreateClientCertStore() { 922 std::unique_ptr<net::ClientCertStore> ProfileIOData::CreateClientCertStore() {
927 if (!client_cert_store_factory_.is_null()) 923 if (!client_cert_store_factory_.is_null())
928 return client_cert_store_factory_.Run(); 924 return client_cert_store_factory_.Run();
929 #if defined(OS_CHROMEOS) 925 #if defined(OS_CHROMEOS)
930 return std::unique_ptr<net::ClientCertStore>( 926 return std::unique_ptr<net::ClientCertStore>(
931 new chromeos::ClientCertStoreChromeOS( 927 new chromeos::ClientCertStoreChromeOS(
932 certificate_provider_ ? certificate_provider_->Copy() : nullptr, 928 certificate_provider_ ? certificate_provider_->Copy() : nullptr,
933 base::MakeUnique<chromeos::ClientCertFilterChromeOS>( 929 base::MakeUnique<chromeos::ClientCertFilterChromeOS>(
934 use_system_key_slot_, username_hash_), 930 use_system_key_slot_, username_hash_),
935 base::Bind(&CreateCryptoModuleBlockingPasswordDelegate, 931 base::Bind(&CreateCryptoModuleBlockingPasswordDelegate,
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
1383 void ProfileIOData::SetCookieSettingsForTesting( 1379 void ProfileIOData::SetCookieSettingsForTesting(
1384 content_settings::CookieSettings* cookie_settings) { 1380 content_settings::CookieSettings* cookie_settings) {
1385 DCHECK(!cookie_settings_.get()); 1381 DCHECK(!cookie_settings_.get());
1386 cookie_settings_ = cookie_settings; 1382 cookie_settings_ = cookie_settings;
1387 } 1383 }
1388 1384
1389 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState( 1385 policy::URLBlacklist::URLBlacklistState ProfileIOData::GetURLBlacklistState(
1390 const GURL& url) const { 1386 const GURL& url) const {
1391 return url_blacklist_manager_->GetURLBlacklistState(url); 1387 return url_blacklist_manager_->GetURLBlacklistState(url);
1392 } 1388 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698