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

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

Issue 1311613002: Revert of 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"
16 15
17 namespace devtools_service { 16 namespace devtools_service {
18 17
19 class DevToolsService; 18 class DevToolsService;
20 19
21 class DevToolsHttpServer : public mojo::HttpServerDelegate { 20 class DevToolsHttpServer : public mojo::HttpServerDelegate {
22 public: 21 public:
23 // |service| must outlive this object. 22 // |service| must outlive this object.
24 DevToolsHttpServer(DevToolsService* service, uint16_t remote_debugging_port); 23 DevToolsHttpServer(DevToolsService* service, uint16_t remote_debugging_port);
25 ~DevToolsHttpServer() override; 24 ~DevToolsHttpServer() override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 57
59 // Owns the elements. 58 // Owns the elements.
60 std::set<HttpConnectionDelegateImpl*> connections_; 59 std::set<HttpConnectionDelegateImpl*> connections_;
61 60
62 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpServer); 61 DISALLOW_COPY_AND_ASSIGN(DevToolsHttpServer);
63 }; 62 };
64 63
65 } // namespace devtools_service 64 } // namespace devtools_service
66 65
67 #endif // COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_HTTP_SERVER_H_ 66 #endif // COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_HTTP_SERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/router/media_router_mojo_test.h ('k') | components/filesystem/files_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698