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

Unified Diff: webkit/tools/test_shell/test_shell_devtools_callargs.h

Issue 3005044: DevTools: Get rid of DevTools RPC. (Closed)
Patch Set: More files removed Created 10 years, 5 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: webkit/tools/test_shell/test_shell_devtools_callargs.h
diff --git a/webkit/tools/test_shell/test_shell_devtools_callargs.h b/webkit/tools/test_shell/test_shell_devtools_callargs.h
index 3fd76323b1086708f1c1ca21987ae17cb81fff08..92106ec07c9ed151e2e3d6d264206f4b598803dc 100644
--- a/webkit/tools/test_shell/test_shell_devtools_callargs.h
+++ b/webkit/tools/test_shell/test_shell_devtools_callargs.h
@@ -7,19 +7,13 @@
#include "base/logging.h"
-#include "third_party/WebKit/WebKit/chromium/public/WebDevToolsMessageData.h"
#include "third_party/WebKit/WebKit/chromium/public/WebString.h"
class TestShellDevToolsCallArgs {
public:
- TestShellDevToolsCallArgs(const WebKit::WebDevToolsMessageData& data)
+ TestShellDevToolsCallArgs(const WebKit::WebString& data)
: data_(data) {
++calls_count_;
-
- // The same behaiviour as we have in case of IPC.
- for (size_t i = 0; i < data_.arguments.size(); ++i)
- if (data_.arguments[i].isNull())
- data_.arguments[i] = WebKit::WebString::fromUTF8("");
}
TestShellDevToolsCallArgs(const TestShellDevToolsCallArgs& args)
@@ -34,7 +28,7 @@ class TestShellDevToolsCallArgs {
static int calls_count() { return calls_count_; }
- WebKit::WebDevToolsMessageData data_;
+ WebKit::WebString data_;
private:
static int calls_count_;
« no previous file with comments | « webkit/tools/test_shell/test_shell_devtools_agent.cc ('k') | webkit/tools/test_shell/test_shell_devtools_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698