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

Side by Side Diff: content/browser/devtools/devtools_protocol.h

Issue 635733003: [DevTools] Migrate DevToolsTracingHandler to generated handler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed review comments Created 6 years, 2 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 DISALLOW_COPY_AND_ASSIGN(Response); 107 DISALLOW_COPY_AND_ASSIGN(Response);
108 }; 108 };
109 109
110 class Notification : public Message { 110 class Notification : public Message {
111 public: 111 public:
112 112
113 virtual std::string Serialize() override; 113 virtual std::string Serialize() override;
114 114
115 private: 115 private:
116 friend class DevToolsProtocol; 116 friend class DevToolsProtocol;
117 friend class DevToolsProtocolClient;
117 virtual ~Notification(); 118 virtual ~Notification();
118 119
119 // Takes ownership of |params|. 120 // Takes ownership of |params|.
120 Notification(const std::string& method, 121 Notification(const std::string& method,
121 base::DictionaryValue* params); 122 base::DictionaryValue* params);
122 123
123 DISALLOW_COPY_AND_ASSIGN(Notification); 124 DISALLOW_COPY_AND_ASSIGN(Notification);
124 }; 125 };
125 126
126 class CONTENT_EXPORT Handler { 127 class CONTENT_EXPORT Handler {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 static scoped_refptr<Notification> CreateNotification( 187 static scoped_refptr<Notification> CreateNotification(
187 const std::string& method, base::DictionaryValue* params); 188 const std::string& method, base::DictionaryValue* params);
188 189
189 DevToolsProtocol() {} 190 DevToolsProtocol() {}
190 ~DevToolsProtocol() {} 191 ~DevToolsProtocol() {}
191 }; 192 };
192 193
193 } // namespace content 194 } // namespace content
194 195
195 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_ 196 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698