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

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

Issue 2546533003: Respect QuicAllowed policy for new streams (Closed)
Patch Set: Reviewers' feedback Created 3 years, 11 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/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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698