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 CONTENT_CHILD_NAVIGATOR_CONNECT_SERVICE_PORT_PROVIDER_H_ | 5 #ifndef CONTENT_CHILD_NAVIGATOR_CONNECT_SERVICE_PORT_PROVIDER_H_ |
6 #define CONTENT_CHILD_NAVIGATOR_CONNECT_SERVICE_PORT_PROVIDER_H_ | 6 #define CONTENT_CHILD_NAVIGATOR_CONNECT_SERVICE_PORT_PROVIDER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/id_map.h" | 9 #include "base/id_map.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "content/child/worker_task_runner.h" | 11 #include "content/child/worker_task_runner.h" |
12 #include "content/common/service_port_service.mojom.h" | 12 #include "content/common/service_port_service.mojom.h" |
13 #include "third_party/WebKit/public/platform/modules/navigator_services/WebServi
cePortProvider.h" | 13 #include "third_party/WebKit/public/platform/modules/navigator_services/WebServi
cePortProvider.h" |
| 14 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" |
14 | 15 |
15 class GURL; | 16 class GURL; |
16 | 17 |
17 namespace base { | 18 namespace base { |
18 class SingleThreadTaskRunner; | 19 class SingleThreadTaskRunner; |
19 } | 20 } |
20 | 21 |
21 namespace blink { | 22 namespace blink { |
22 class WebServicePortProviderClient; | 23 class WebServicePortProviderClient; |
23 class WebString; | 24 class WebString; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 ServicePortServicePtr service_port_service_; | 89 ServicePortServicePtr service_port_service_; |
89 | 90 |
90 scoped_refptr<base::SingleThreadTaskRunner> main_loop_; | 91 scoped_refptr<base::SingleThreadTaskRunner> main_loop_; |
91 | 92 |
92 DISALLOW_COPY_AND_ASSIGN(ServicePortProvider); | 93 DISALLOW_COPY_AND_ASSIGN(ServicePortProvider); |
93 }; | 94 }; |
94 | 95 |
95 } // namespace content | 96 } // namespace content |
96 | 97 |
97 #endif // CONTENT_CHILD_NAVIGATOR_CONNECT_SERVICE_PORT_PROVIDER_H_ | 98 #endif // CONTENT_CHILD_NAVIGATOR_CONNECT_SERVICE_PORT_PROVIDER_H_ |
OLD | NEW |