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

Unified Diff: webkit/glue/devtools/devtools_rpc_js.h

Issue 330029: DevTools: Remove base/ dependencies from glue/devtools (Closed) Base URL: svn://chrome-svn/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/devtools/devtools_rpc.h ('k') | webkit/glue/webdevtoolsagent_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/devtools/devtools_rpc_js.h
===================================================================
--- webkit/glue/devtools/devtools_rpc_js.h (revision 30177)
+++ webkit/glue/devtools/devtools_rpc_js.h (working copy)
@@ -8,9 +8,9 @@
#define WEBKIT_GLUE_DEVTOOLS_DEVTOOLS_RPC_JS_H_
// Do not remove this one although it is not used.
+#include <wtf/Noncopyable.h>
#include <wtf/OwnPtr.h>
-#include "base/basictypes.h"
#include "webkit/api/public/WebFrame.h"
#include "webkit/glue/devtools/bound_object.h"
#include "webkit/glue/devtools/devtools_rpc.h"
@@ -70,7 +70,7 @@
// JS RPC main obj macro
#define DEFINE_RPC_JS_BOUND_OBJ(Class, STRUCT, DClass, DELEGATE_STRUCT) \
-class Js##Class##BoundObj : public Class##Stub { \
+class Js##Class##BoundObj : public Class##Stub, public Noncopyable { \
public: \
Js##Class##BoundObj(Delegate* rpc_delegate, \
v8::Handle<v8::Context> context, \
@@ -106,7 +106,6 @@
param3); \
} \
OwnPtr<BoundObject> bound_obj_; \
- DISALLOW_COPY_AND_ASSIGN(Js##Class##BoundObj); \
};
#endif // WEBKIT_GLUE_DEVTOOLS_DEVTOOLS_RPC_JS_H_
« no previous file with comments | « webkit/glue/devtools/devtools_rpc.h ('k') | webkit/glue/webdevtoolsagent_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698