Index: content/browser/devtools/devtools_protocol.h |
diff --git a/content/browser/devtools/devtools_protocol.h b/content/browser/devtools/devtools_protocol.h |
index 15b0a8087be5c57dac3efe471bd25862204f5fd6..65a49254a1f044fa2e8611683d29a9ded0edbf7f 100644 |
--- a/content/browser/devtools/devtools_protocol.h |
+++ b/content/browser/devtools/devtools_protocol.h |
@@ -157,25 +157,32 @@ class DevToolsProtocol { |
DISALLOW_COPY_AND_ASSIGN(Handler); |
}; |
+ CONTENT_EXPORT static base::DictionaryValue* ParseMessage( |
+ const std::string& json, |
+ std::string* error_response); |
+ |
CONTENT_EXPORT static scoped_refptr<Command> ParseCommand( |
const std::string& json, |
std::string* error_response); |
+ CONTENT_EXPORT static scoped_refptr<Command> ParseCommand( |
+ base::DictionaryValue* command_dict, |
+ std::string* error_response); |
+ |
CONTENT_EXPORT static scoped_refptr<Command> CreateCommand( |
int id, |
const std::string& method, |
base::DictionaryValue* params); |
+ CONTENT_EXPORT static scoped_refptr<Response> ParseResponse( |
+ base::DictionaryValue* response_dict); |
+ |
static scoped_refptr<Notification> ParseNotification( |
const std::string& json); |
static scoped_refptr<Notification> CreateNotification( |
const std::string& method, base::DictionaryValue* params); |
- private: |
- static base::DictionaryValue* ParseMessage(const std::string& json, |
- std::string* error_response); |
- |
DevToolsProtocol() {} |
~DevToolsProtocol() {} |
}; |