OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_HTML_VIEWER_WEBURLLOADER_IMPL_H_ | 5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEBURLLOADER_IMPL_H_ |
6 #define MOJO_SERVICES_HTML_VIEWER_WEBURLLOADER_IMPL_H_ | 6 #define MOJO_SERVICES_HTML_VIEWER_WEBURLLOADER_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "mojo/common/handle_watcher.h" | 10 #include "mojo/common/handle_watcher.h" |
11 #include "mojo/services/public/interfaces/network/url_loader.mojom.h" | 11 #include "mojo/services/network/public/interfaces/url_loader.mojom.h" |
12 #include "third_party/WebKit/public/platform/WebURLLoader.h" | 12 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
13 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 13 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
14 | 14 |
15 namespace mojo { | 15 namespace mojo { |
16 class NetworkService; | 16 class NetworkService; |
17 | 17 |
18 // The concrete type of WebURLRequest::ExtraData. | 18 // The concrete type of WebURLRequest::ExtraData. |
19 class WebURLRequestExtraData : public blink::WebURLRequest::ExtraData { | 19 class WebURLRequestExtraData : public blink::WebURLRequest::ExtraData { |
20 public: | 20 public: |
21 WebURLRequestExtraData(); | 21 WebURLRequestExtraData(); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 common::HandleWatcher handle_watcher_; | 54 common::HandleWatcher handle_watcher_; |
55 | 55 |
56 base::WeakPtrFactory<WebURLLoaderImpl> weak_factory_; | 56 base::WeakPtrFactory<WebURLLoaderImpl> weak_factory_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl); | 58 DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace mojo | 61 } // namespace mojo |
62 | 62 |
63 #endif // MOJO_SERVICES_HTML_VIEWER_WEBURLLOADER_IMPL_H_ | 63 #endif // MOJO_SERVICES_HTML_VIEWER_WEBURLLOADER_IMPL_H_ |
OLD | NEW |