| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_HTTP_SERVER_H_ | 5 #ifndef COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_HTTP_SERVER_H_ |
| 6 #define COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_HTTP_SERVER_H_ | 6 #define COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_HTTP_SERVER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <set> | 10 #include <set> |
| 9 | 11 |
| 10 #include "base/macros.h" | 12 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 12 #include "mojo/public/cpp/bindings/binding.h" | 14 #include "mojo/public/cpp/bindings/binding.h" |
| 13 #include "mojo/services/network/public/interfaces/http_connection.mojom.h" | 15 #include "mojo/services/network/public/interfaces/http_connection.mojom.h" |
| 14 #include "mojo/services/network/public/interfaces/http_message.mojom.h" | 16 #include "mojo/services/network/public/interfaces/http_message.mojom.h" |
| 15 #include "mojo/services/network/public/interfaces/http_server.mojom.h" | 17 #include "mojo/services/network/public/interfaces/http_server.mojom.h" |
| 16 | 18 |
| 17 namespace devtools_service { | 19 namespace devtools_service { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 60 |
| 59 // Owns the elements. | 61 // Owns the elements. |
| 60 std::set<HttpConnectionDelegateImpl*> connections_; | 62 std::set<HttpConnectionDelegateImpl*> connections_; |
| 61 | 63 |
| 62 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpServer); | 64 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpServer); |
| 63 }; | 65 }; |
| 64 | 66 |
| 65 } // namespace devtools_service | 67 } // namespace devtools_service |
| 66 | 68 |
| 67 #endif // COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_HTTP_SERVER_H_ | 69 #endif // COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_HTTP_SERVER_H_ |
| OLD | NEW |