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 #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 <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 PrefProxyConfigTracker* OffTheRecordProfileImpl::CreateProxyConfigTracker() { | 554 PrefProxyConfigTracker* OffTheRecordProfileImpl::CreateProxyConfigTracker() { |
555 #if defined(OS_CHROMEOS) | 555 #if defined(OS_CHROMEOS) |
556 if (chromeos::ProfileHelper::IsSigninProfile(this)) { | 556 if (chromeos::ProfileHelper::IsSigninProfile(this)) { |
557 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState( | 557 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfLocalState( |
558 g_browser_process->local_state()); | 558 g_browser_process->local_state()); |
559 } | 559 } |
560 #endif // defined(OS_CHROMEOS) | 560 #endif // defined(OS_CHROMEOS) |
561 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile( | 561 return ProxyServiceFactory::CreatePrefProxyConfigTrackerOfProfile( |
562 GetPrefs(), g_browser_process->local_state()); | 562 GetPrefs(), g_browser_process->local_state()); |
563 } | 563 } |
| 564 |
| 565 void OffTheRecordProfileImpl::UpdateNetParams( |
| 566 NetPrefObserver::NetParamsChange net_params_change) { |
| 567 io_data_->UpdateNetParams(net_params_change); |
| 568 } |
OLD | NEW |