OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_BROWSER_LOADER_URL_LOADER_FACTORY_HOLDER_H_ | |
6 #define CONTENT_BROWSER_LOADER_URL_LOADER_FACTORY_HOLDER_H_ | |
7 | |
8 #include <memory> | |
9 | |
10 #include "base/compiler_specific.h" | |
mmenke
2016/07/19 20:50:27
macros.h is where DISALLOW_COPY_AND_ASSIGN is now
yhirano
2016/07/20 13:38:36
Done.
| |
11 #include "base/memory/ref_counted.h" | |
12 #include "content/common/content_export.h" | |
13 #include "mojo/public/cpp/bindings/interface_request.h" | |
14 | |
15 namespace content { | |
16 | |
17 class ResourceMessageFilter; | |
18 | |
19 namespace mojom { | |
20 class URLLoaderFactory; | |
21 } // namespace mojom | |
22 | |
23 class CONTENT_EXPORT URLLoaderFactoryHolder final { | |
24 public: | |
25 URLLoaderFactoryHolder( | |
26 scoped_refptr<ResourceMessageFilter> resource_message_filter, | |
27 mojo::InterfaceRequest<mojom::URLLoaderFactory> request); | |
28 ~URLLoaderFactoryHolder(); | |
29 | |
30 private: | |
31 class URLLoaderFactoryImpl; | |
mmenke
2016/07/19 20:50:27
Suggest a blank line here.
yhirano
2016/07/20 13:38:36
Done.
| |
32 std::unique_ptr<URLLoaderFactoryImpl> factory_; | |
33 | |
34 DISALLOW_COPY_AND_ASSIGN(URLLoaderFactoryHolder); | |
35 }; | |
36 | |
37 } // namespace content | |
38 | |
39 #endif // CONTENT_BROWSER_LOADER_URL_LOADER_FACTORY_HOLDER_H_ | |
OLD | NEW |