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

Side by Side Diff: mojo/services/network/url_loader_factory_impl.h

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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 | « mojo/services/network/udp_socket_impl.h ('k') | mojo/services/network/url_loader_impl.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 MOJO_SERVICES_NETWORK_URL_LOADER_FACTORY_IMPL_H_ 5 #ifndef MOJO_SERVICES_NETWORK_URL_LOADER_FACTORY_IMPL_H_
6 #define MOJO_SERVICES_NETWORK_URL_LOADER_FACTORY_IMPL_H_ 6 #define MOJO_SERVICES_NETWORK_URL_LOADER_FACTORY_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "mojo/application/public/cpp/app_lifetime_helper.h"
11 #include "mojo/public/cpp/bindings/strong_binding.h" 10 #include "mojo/public/cpp/bindings/strong_binding.h"
12 #include "mojo/services/network/public/interfaces/url_loader_factory.mojom.h" 11 #include "mojo/services/network/public/interfaces/url_loader_factory.mojom.h"
12 #include "mojo/shell/public/cpp/app_lifetime_helper.h"
13 13
14 namespace mojo { 14 namespace mojo {
15 class NetworkContext; 15 class NetworkContext;
16 16
17 class URLLoaderFactoryImpl : public URLLoaderFactory { 17 class URLLoaderFactoryImpl : public URLLoaderFactory {
18 public: 18 public:
19 URLLoaderFactoryImpl(NetworkContext* context, 19 URLLoaderFactoryImpl(NetworkContext* context,
20 scoped_ptr<mojo::AppRefCount> app_refcount, 20 scoped_ptr<mojo::AppRefCount> app_refcount,
21 InterfaceRequest<URLLoaderFactory> request); 21 InterfaceRequest<URLLoaderFactory> request);
22 ~URLLoaderFactoryImpl() override; 22 ~URLLoaderFactoryImpl() override;
23 23
24 // URLLoaderFactory methods: 24 // URLLoaderFactory methods:
25 void CreateURLLoader(InterfaceRequest<URLLoader> loader) override; 25 void CreateURLLoader(InterfaceRequest<URLLoader> loader) override;
26 26
27 private: 27 private:
28 NetworkContext* context_; 28 NetworkContext* context_;
29 scoped_ptr<mojo::AppRefCount> app_refcount_; 29 scoped_ptr<mojo::AppRefCount> app_refcount_;
30 StrongBinding<URLLoaderFactory> binding_; 30 StrongBinding<URLLoaderFactory> binding_;
31 31
32 DISALLOW_COPY_AND_ASSIGN(URLLoaderFactoryImpl); 32 DISALLOW_COPY_AND_ASSIGN(URLLoaderFactoryImpl);
33 }; 33 };
34 34
35 } // namespace mojo 35 } // namespace mojo
36 36
37 #endif // MOJO_SERVICES_NETWORK_URL_LOADER_FACTORY_IMPL_H_ 37 #endif // MOJO_SERVICES_NETWORK_URL_LOADER_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/network/udp_socket_impl.h ('k') | mojo/services/network/url_loader_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698