Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(856)

Side by Side Diff: components/devtools_service/devtools_http_server.h

Issue 1311043003: Update mojo sdk to rev c02a28868825edfa57ab77947b8cb15e741c5598 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "mojo/services/network/public/interfaces/http_connection.mojom.h" 12 #include "mojo/services/network/public/interfaces/http_connection.mojom.h"
13 #include "mojo/services/network/public/interfaces/http_message.mojom.h" 13 #include "mojo/services/network/public/interfaces/http_message.mojom.h"
14 #include "mojo/services/network/public/interfaces/http_server.mojom.h" 14 #include "mojo/services/network/public/interfaces/http_server.mojom.h"
15 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
15 16
16 namespace devtools_service { 17 namespace devtools_service {
17 18
18 class DevToolsService; 19 class DevToolsService;
19 20
20 class DevToolsHttpServer : public mojo::HttpServerDelegate { 21 class DevToolsHttpServer : public mojo::HttpServerDelegate {
21 public: 22 public:
22 // |service| must outlive this object. 23 // |service| must outlive this object.
23 DevToolsHttpServer(DevToolsService* service, uint16_t remote_debugging_port); 24 DevToolsHttpServer(DevToolsService* service, uint16_t remote_debugging_port);
24 ~DevToolsHttpServer() override; 25 ~DevToolsHttpServer() override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 58
58 // Owns the elements. 59 // Owns the elements.
59 std::set<HttpConnectionDelegateImpl*> connections_; 60 std::set<HttpConnectionDelegateImpl*> connections_;
60 61
61 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpServer); 62 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpServer);
62 }; 63 };
63 64
64 } // namespace devtools_service 65 } // namespace devtools_service
65 66
66 #endif // COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_HTTP_SERVER_H_ 67 #endif // COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_HTTP_SERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698