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

Unified Diff: webkit/glue/webdevtoolsclient.h

Issue 264077: Convert devtools interfaces over to using WebString.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webdevtoolsagent_impl.cc ('k') | webkit/glue/webdevtoolsclient_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webdevtoolsclient.h
===================================================================
--- webkit/glue/webdevtoolsclient.h (revision 29249)
+++ webkit/glue/webdevtoolsclient.h (working copy)
@@ -5,12 +5,15 @@
#ifndef WEBKIT_GLUE_WEBDEVTOOLSCLIENT_H_
#define WEBKIT_GLUE_WEBDEVTOOLSCLIENT_H_
-#include <string>
#include "base/basictypes.h"
class WebDevToolsClientDelegate;
class WebView;
+namespace WebKit {
+class WebString;
+}
+
// WebDevToolsClient represents DevTools client sitting in the Glue. It provides
// direct and delegate Apis to the host.
class WebDevToolsClient {
@@ -18,16 +21,16 @@
static WebDevToolsClient* Create(
WebView* view,
WebDevToolsClientDelegate* delegate,
- const std::string& application_locale);
+ const WebKit::WebString& application_locale);
WebDevToolsClient() {}
virtual ~WebDevToolsClient() {}
- virtual void DispatchMessageFromAgent(const std::string& class_name,
- const std::string& method_name,
- const std::string& param1,
- const std::string& param2,
- const std::string& param3) = 0;
+ virtual void DispatchMessageFromAgent(const WebKit::WebString& class_name,
+ const WebKit::WebString& method_name,
+ const WebKit::WebString& param1,
+ const WebKit::WebString& param2,
+ const WebKit::WebString& param3) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(WebDevToolsClient);
« no previous file with comments | « webkit/glue/webdevtoolsagent_impl.cc ('k') | webkit/glue/webdevtoolsclient_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698