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

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

Issue 1857383002: Refactor net predictor to use ResourceThrottles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 make_scoped_ptr(new DevToolsNetworkTransactionFactory( 1318 make_scoped_ptr(new DevToolsNetworkTransactionFactory(
1319 network_controller_handle_.GetController(), shared_session)), 1319 network_controller_handle_.GetController(), shared_session)),
1320 std::move(backend), true /* set_up_quic_server_info */)); 1320 std::move(backend), true /* set_up_quic_server_info */));
1321 } 1321 }
1322 1322
1323 void ProfileIOData::SetCookieSettingsForTesting( 1323 void ProfileIOData::SetCookieSettingsForTesting(
1324 content_settings::CookieSettings* cookie_settings) { 1324 content_settings::CookieSettings* cookie_settings) {
1325 DCHECK(!cookie_settings_.get()); 1325 DCHECK(!cookie_settings_.get());
1326 cookie_settings_ = cookie_settings; 1326 cookie_settings_ = cookie_settings;
1327 } 1327 }
1328
1329 chrome_browser_net::Predictor* ProfileIOData::predictor() {
1330 return nullptr;
1331 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698