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

Unified Diff: chrome/test/chromedriver/devtools_client_impl.h

Issue 12093057: [ChromeDriver] Send DOM.getDocument after each DOM.documentUpdated. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix indent Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/chromedriver/devtools_client_impl.h
diff --git a/chrome/test/chromedriver/devtools_client_impl.h b/chrome/test/chromedriver/devtools_client_impl.h
index 2b2a83122be7f8ed521ed3b826266d578092b9c3..7257a1da788d7f5f71b4abf8bb9a0301323821df 100644
--- a/chrome/test/chromedriver/devtools_client_impl.h
+++ b/chrome/test/chromedriver/devtools_client_impl.h
@@ -6,6 +6,7 @@
#define CHROME_TEST_CHROMEDRIVER_DEVTOOLS_CLIENT_IMPL_H_
#include <list>
+#include <map>
#include <string>
#include "base/basictypes.h"
@@ -50,7 +51,6 @@ class SyncWebSocket;
class DevToolsClientImpl : public DevToolsClient {
public:
- // Listener may be NULL.
DevToolsClientImpl(const SyncWebSocketFactory& factory,
const std::string& url);
@@ -96,6 +96,8 @@ class DevToolsClientImpl : public DevToolsClient {
GURL url_;
ParserFunc parser_func_;
std::list<DevToolsEventListener*> listeners_;
+ typedef std::map<int, base::DictionaryValue*> ResponseMap;
+ ResponseMap cmd_response_map_;
bool connected_;
int next_id_;

Powered by Google App Engine
This is Rietveld 408576698