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

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

Issue 16915006: Convert most of extensions and some other random stuff to using the base namespace for Values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 static Command* ParseCommand(const std::string& json, 145 static Command* ParseCommand(const std::string& json,
146 std::string* error_response); 146 std::string* error_response);
147 147
148 static Notification* ParseNotification(const std::string& json); 148 static Notification* ParseNotification(const std::string& json);
149 149
150 static Notification* CreateNotification(const std::string& method, 150 static Notification* CreateNotification(const std::string& method,
151 base::DictionaryValue* params); 151 base::DictionaryValue* params);
152 152
153 private: 153 private:
154 static DictionaryValue* ParseMessage(const std::string& json, 154 static base::DictionaryValue* ParseMessage(const std::string& json,
155 std::string* error_response); 155 std::string* error_response);
156 156
157 DevToolsProtocol() {} 157 DevToolsProtocol() {}
158 ~DevToolsProtocol() {} 158 ~DevToolsProtocol() {}
159 }; 159 };
160 160
161 } // namespace content 161 } // namespace content
162 162
163 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_ 163 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_PROTOCOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698