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

Side by Side Diff: components/ui_devtools/devtools_client.h

Issue 2522583002: Roll third_party/inspector_protocol to 4ad35c45aca9834b67ec2cb152c816ea1b7ceb48 (Closed)
Patch Set: updated README.chromium Created 4 years, 1 month 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
« no previous file with comments | « ash/common/devtools/ash_devtools_unittest.cc ('k') | components/ui_devtools/devtools_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_UI_DEVTOOLS_DEVTOOLS_CLIENT_H_ 5 #ifndef COMPONENTS_UI_DEVTOOLS_DEVTOOLS_CLIENT_H_
6 #define COMPONENTS_UI_DEVTOOLS_DEVTOOLS_CLIENT_H_ 6 #define COMPONENTS_UI_DEVTOOLS_DEVTOOLS_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/ui_devtools/DOM.h" 10 #include "components/ui_devtools/DOM.h"
(...skipping 22 matching lines...) Expand all
33 void Dispatch(const std::string& data); 33 void Dispatch(const std::string& data);
34 34
35 bool connected() const; 35 bool connected() const;
36 void set_connection_id(int connection_id); 36 void set_connection_id(int connection_id);
37 const std::string& name() const; 37 const std::string& name() const;
38 38
39 private: 39 private:
40 void DisableAllAgents(); 40 void DisableAllAgents();
41 41
42 // protocol::FrontendChannel 42 // protocol::FrontendChannel
43 void sendProtocolResponse(int callId, const String& message) override; 43 void sendProtocolResponse(
44 void sendProtocolNotification(const String& message) override; 44 int callId,
45 std::unique_ptr<protocol::Serializable> message) override;
46 void sendProtocolNotification(
47 std::unique_ptr<protocol::Serializable> message) override;
45 void flushProtocolNotifications() override; 48 void flushProtocolNotifications() override;
46 49
47 std::string name_; 50 std::string name_;
48 int connection_id_; 51 int connection_id_;
49 52
50 std::vector<std::unique_ptr<UiDevToolsAgent>> agents_; 53 std::vector<std::unique_ptr<UiDevToolsAgent>> agents_;
51 protocol::UberDispatcher dispatcher_; 54 protocol::UberDispatcher dispatcher_;
52 UiDevToolsServer* server_; 55 UiDevToolsServer* server_;
53 56
54 DISALLOW_COPY_AND_ASSIGN(UiDevToolsClient); 57 DISALLOW_COPY_AND_ASSIGN(UiDevToolsClient);
55 }; 58 };
56 59
57 } // namespace devtools 60 } // namespace devtools
58 } // namespace ui 61 } // namespace ui
59 62
60 #endif // COMPONENTS_UI_DEVTOOLS_DEVTOOLS_CLIENT_H_ 63 #endif // COMPONENTS_UI_DEVTOOLS_DEVTOOLS_CLIENT_H_
OLDNEW
« no previous file with comments | « ash/common/devtools/ash_devtools_unittest.cc ('k') | components/ui_devtools/devtools_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698