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

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

Issue 2964503003: Move NetworkService mojom files to content/public/common. (Closed)
Patch Set: Merge Created 3 years, 5 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 #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/public/common/url_loader_factory.mojom.h"
10 #include "net/traffic_annotation/network_traffic_annotation.h" 10 #include "net/traffic_annotation/network_traffic_annotation.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 class NetworkContext; 14 class NetworkContext;
15 15
16 // This class is an implementation of mojom::URLLoaderFactory that creates 16 // This class is an implementation of mojom::URLLoaderFactory that creates
17 // a mojom::URLLoader. 17 // a mojom::URLLoader.
18 class NetworkServiceURLLoaderFactoryImpl : public mojom::URLLoaderFactory { 18 class NetworkServiceURLLoaderFactoryImpl : public mojom::URLLoaderFactory {
19 public: 19 public:
(...skipping 21 matching lines...) Expand all
41 // Not owned. 41 // Not owned.
42 NetworkContext* context_; 42 NetworkContext* context_;
43 int process_id_; 43 int process_id_;
44 44
45 DISALLOW_COPY_AND_ASSIGN(NetworkServiceURLLoaderFactoryImpl); 45 DISALLOW_COPY_AND_ASSIGN(NetworkServiceURLLoaderFactoryImpl);
46 }; 46 };
47 47
48 } // namespace content 48 } // namespace content
49 49
50 #endif // CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_ 50 #endif // CONTENT_NETWORK_NETWORK_SERVICE_URL_LOADER_FACTORY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698