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 SKY_FRAMEWORK_INSPECTOR_SERVER_INSPECTOR_FRONTEND_IMPL_H_ | 5 #ifndef SKY_SERVICES_INSPECTOR_INSPECTOR_FRONTEND_IMPL_H_ |
6 #define SKY_FRAMEWORK_INSPECTOR_SERVER_INSPECTOR_FRONTEND_IMPL_H_ | 6 #define SKY_SERVICES_INSPECTOR_INSPECTOR_FRONTEND_IMPL_H_ |
7 | 7 |
8 #include "mojo/public/cpp/application/interface_factory_impl.h" | 8 #include "mojo/public/cpp/application/interface_factory_impl.h" |
9 #include "mojo/public/cpp/bindings/interface_impl.h" | 9 #include "mojo/public/cpp/bindings/interface_impl.h" |
10 #include "net/server/http_server.h" | 10 #include "net/server/http_server.h" |
11 #include "net/socket/tcp_server_socket.h" | 11 #include "net/socket/tcp_server_socket.h" |
12 #include "sky/framework/inspector/server/inspector.mojom.h" | 12 #include "sky/services/inspector/inspector.mojom.h" |
13 | 13 |
14 namespace sky { | 14 namespace sky { |
15 namespace inspector { | 15 namespace inspector { |
16 | 16 |
17 class InspectorFronendImpl : public mojo::InterfaceImpl<InspectorFrontend>, | 17 class InspectorFronendImpl : public mojo::InterfaceImpl<InspectorFrontend>, |
18 public net::HttpServer::Delegate { | 18 public net::HttpServer::Delegate { |
19 public: | 19 public: |
20 InspectorFronendImpl(); | 20 InspectorFronendImpl(); |
21 virtual ~InspectorFronendImpl(); | 21 virtual ~InspectorFronendImpl(); |
22 | 22 |
(...skipping 23 matching lines...) Expand all Loading... |
46 | 46 |
47 MOJO_DISALLOW_COPY_AND_ASSIGN(InspectorFronendImpl); | 47 MOJO_DISALLOW_COPY_AND_ASSIGN(InspectorFronendImpl); |
48 }; | 48 }; |
49 | 49 |
50 typedef mojo::InterfaceFactoryImpl< | 50 typedef mojo::InterfaceFactoryImpl< |
51 InspectorFronendImpl> InspectorFronendFactory; | 51 InspectorFronendImpl> InspectorFronendFactory; |
52 | 52 |
53 } // namespace tester | 53 } // namespace tester |
54 } // namespace sky | 54 } // namespace sky |
55 | 55 |
56 #endif // SKY_FRAMEWORK_INSPECTOR_SERVER_INSPECTOR_FRONTEND_IMPL_H_ | 56 #endif // SKY_SERVICES_INSPECTOR_INSPECTOR_FRONTEND_IMPL_H_ |
OLD | NEW |