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

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

Issue 2824193002: Enable use_once_callback for //content/common/*.mojom (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/network/network_service_url_loader_factory_impl.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_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ 5 #ifndef CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_
6 #define CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ 6 #define CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/common/url_loader_factory.mojom.h" 9 #include "content/common/url_loader_factory.mojom.h"
10 10
(...skipping 13 matching lines...) Expand all
24 // mojom::URLLoaderFactory implementation. 24 // mojom::URLLoaderFactory implementation.
25 void CreateLoaderAndStart(mojom::URLLoaderAssociatedRequest request, 25 void CreateLoaderAndStart(mojom::URLLoaderAssociatedRequest request,
26 int32_t routing_id, 26 int32_t routing_id,
27 int32_t request_id, 27 int32_t request_id,
28 uint32_t options, 28 uint32_t options,
29 const ResourceRequest& url_request, 29 const ResourceRequest& url_request,
30 mojom::URLLoaderClientPtr client) override; 30 mojom::URLLoaderClientPtr client) override;
31 void SyncLoad(int32_t routing_id, 31 void SyncLoad(int32_t routing_id,
32 int32_t request_id, 32 int32_t request_id,
33 const ResourceRequest& request, 33 const ResourceRequest& request,
34 const SyncLoadCallback& callback) override; 34 SyncLoadCallback callback) override;
35 35
36 private: 36 private:
37 // Not owned. 37 // Not owned.
38 NetworkContext* context_; 38 NetworkContext* context_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(NetworkServiceURLLoaderFactoryImpl); 40 DISALLOW_COPY_AND_ASSIGN(NetworkServiceURLLoaderFactoryImpl);
41 }; 41 };
42 42
43 } // namespace content 43 } // namespace content
44 44
45 #endif // CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ 45 #endif // CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/network/network_service_url_loader_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698