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

Side by Side Diff: content/common/throttling_url_loader.cc

Issue 2914423002: Network service: move URLLoaderThrottle and ThrottlingURLLoader. (Closed)
Patch Set: Created 3 years, 6 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "content/child/throttling_url_loader.h" 5 #include "content/common/throttling_url_loader.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 // static 9 // static
10 std::unique_ptr<ThrottlingURLLoader> ThrottlingURLLoader::CreateLoaderAndStart( 10 std::unique_ptr<ThrottlingURLLoader> ThrottlingURLLoader::CreateLoaderAndStart(
11 mojom::URLLoaderFactory* factory, 11 mojom::URLLoaderFactory* factory,
12 std::vector<std::unique_ptr<URLLoaderThrottle>> throttles, 12 std::vector<std::unique_ptr<URLLoaderThrottle>> throttles,
13 int32_t routing_id, 13 int32_t routing_id,
14 int32_t request_id, 14 int32_t request_id,
15 uint32_t options, 15 uint32_t options,
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 break; 234 break;
235 } 235 }
236 default: 236 default:
237 NOTREACHED(); 237 NOTREACHED();
238 break; 238 break;
239 } 239 }
240 deferred_stage_ = DEFERRED_NONE; 240 deferred_stage_ = DEFERRED_NONE;
241 } 241 }
242 242
243 } // namespace content 243 } // namespace content
OLDNEW
« no previous file with comments | « content/common/throttling_url_loader.h ('k') | content/common/throttling_url_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698