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

Side by Side Diff: content/network/cache_url_loader.h

Issue 2874163004: Add support in the network service for different contexts. (Closed)
Patch Set: review comment and clang fixes Created 3 years, 7 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
« no previous file with comments | « content/common/network_service.mojom ('k') | content/network/cache_url_loader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_NETWORK_CACHE_URL_LOADER_H_ 5 #ifndef CONTENT_NETWORK_CACHE_URL_LOADER_H_
6 #define CONTENT_NETWORK_CACHE_URL_LOADER_H_ 6 #define CONTENT_NETWORK_CACHE_URL_LOADER_H_
7 7
8 #include "content/common/url_loader.mojom.h" 8 #include "content/common/url_loader.mojom.h"
9 9
10 namespace net { 10 namespace net {
11 class URLRequestContext; 11 class URLRequestContext;
12 } 12 }
13 13
14 namespace content { 14 namespace content {
15 15
16 // Creates a URLLoader that responds to developer requests to view the cache. 16 // Creates a URLLoader that responds to developer requests to view the cache.
17 void StartCacheURLLoader(const ResourceRequest& request, 17 void StartCacheURLLoader(const GURL& url,
18 net::URLRequestContext* request_context, 18 net::URLRequestContext* request_context,
19 mojom::URLLoaderClientPtr client); 19 mojom::URLLoaderClientPtr client);
20 20
21 } // namespace content 21 } // namespace content
22 22
23 #endif // CONTENT_NETWORK_CACHE_URL_LOADER_H_ 23 #endif // CONTENT_NETWORK_CACHE_URL_LOADER_H_
OLDNEW
« no previous file with comments | « content/common/network_service.mojom ('k') | content/network/cache_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698