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

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

Issue 18112018: Cleanup the UseSharedProxies preference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing include. Created 7 years, 5 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 | Annotate | Revision Log
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/off_the_record_profile_impl.h" 5 #include "chrome/browser/profiles/off_the_record_profile_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 AppLocaleChangedVia) { 383 AppLocaleChangedVia) {
384 } 384 }
385 385
386 void OffTheRecordProfileImpl::OnLogin() { 386 void OffTheRecordProfileImpl::OnLogin() {
387 } 387 }
388 #endif // defined(OS_CHROMEOS) 388 #endif // defined(OS_CHROMEOS)
389 389
390 PrefProxyConfigTracker* OffTheRecordProfileImpl::GetProxyConfigTracker() { 390 PrefProxyConfigTracker* OffTheRecordProfileImpl::GetProxyConfigTracker() {
391 if (!pref_proxy_config_tracker_) { 391 if (!pref_proxy_config_tracker_) {
392 pref_proxy_config_tracker_.reset( 392 pref_proxy_config_tracker_.reset(
393 ProxyServiceFactory::CreatePrefProxyConfigTracker(GetPrefs())); 393 ProxyServiceFactory::CreatePrefProxyConfigTracker(this));
394 } 394 }
395 return pref_proxy_config_tracker_.get(); 395 return pref_proxy_config_tracker_.get();
396 } 396 }
397 397
398 chrome_browser_net::Predictor* OffTheRecordProfileImpl::GetNetworkPredictor() { 398 chrome_browser_net::Predictor* OffTheRecordProfileImpl::GetNetworkPredictor() {
399 // We do not store information about websites visited in OTR profiles which 399 // We do not store information about websites visited in OTR profiles which
400 // is necessary for a Predictor, so we do not have a Predictor at all. 400 // is necessary for a Predictor, so we do not have a Predictor at all.
401 return NULL; 401 return NULL;
402 } 402 }
403 403
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 case HostZoomMap::ZOOM_CHANGED_FOR_HOST: 458 case HostZoomMap::ZOOM_CHANGED_FOR_HOST:
459 host_zoom_map->SetZoomLevelForHost(change.host, change.zoom_level); 459 host_zoom_map->SetZoomLevelForHost(change.host, change.zoom_level);
460 return; 460 return;
461 case HostZoomMap::ZOOM_CHANGED_FOR_SCHEME_AND_HOST: 461 case HostZoomMap::ZOOM_CHANGED_FOR_SCHEME_AND_HOST:
462 host_zoom_map->SetZoomLevelForHostAndScheme(change.scheme, 462 host_zoom_map->SetZoomLevelForHostAndScheme(change.scheme,
463 change.host, 463 change.host,
464 change.zoom_level); 464 change.zoom_level);
465 return; 465 return;
466 } 466 }
467 } 467 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698