| 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" | |
| 15 | 14 |
| 16 class GURL; | 15 class GURL; |
| 17 | 16 |
| 18 namespace base { | 17 namespace base { |
| 19 class SingleThreadTaskRunner; | 18 class SingleThreadTaskRunner; |
| 20 } | 19 } |
| 21 | 20 |
| 22 namespace blink { | 21 namespace blink { |
| 23 class WebServicePortProviderClient; | 22 class WebServicePortProviderClient; |
| 24 class WebString; | 23 class WebString; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 ServicePortServicePtr service_port_service_; | 88 ServicePortServicePtr service_port_service_; |
| 90 | 89 |
| 91 scoped_refptr<base::SingleThreadTaskRunner> main_loop_; | 90 scoped_refptr<base::SingleThreadTaskRunner> main_loop_; |
| 92 | 91 |
| 93 DISALLOW_COPY_AND_ASSIGN(ServicePortProvider); | 92 DISALLOW_COPY_AND_ASSIGN(ServicePortProvider); |
| 94 }; | 93 }; |
| 95 | 94 |
| 96 } // namespace content | 95 } // namespace content |
| 97 | 96 |
| 98 #endif // CONTENT_CHILD_NAVIGATOR_CONNECT_SERVICE_PORT_PROVIDER_H_ | 97 #endif // CONTENT_CHILD_NAVIGATOR_CONNECT_SERVICE_PORT_PROVIDER_H_ |
| OLD | NEW |