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

Unified Diff: mojo/apps/js/bindings/waiting_callback.h

Issue 105743007: Gin: Make it easier to implement Wrappable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 7 years 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 | « gin/wrappable_unittest.cc ('k') | mojo/apps/js/bindings/waiting_callback.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/apps/js/bindings/waiting_callback.h
diff --git a/mojo/apps/js/bindings/waiting_callback.h b/mojo/apps/js/bindings/waiting_callback.h
index e8721e3683aa2ce0a377ef36c00b12b9f3cd2b53..8bc762851ecb498fcdf70d8e973b047b6296900d 100644
--- a/mojo/apps/js/bindings/waiting_callback.h
+++ b/mojo/apps/js/bindings/waiting_callback.h
@@ -13,14 +13,12 @@
namespace mojo {
namespace js {
-class WaitingCallback : public gin::Wrappable,
+class WaitingCallback : public gin::Wrappable<WaitingCallback>,
public BindingsSupport::AsyncWaitCallback {
public:
static gin::Handle<WaitingCallback> Create(
v8::Isolate* isolate, v8::Handle<v8::Function> callback);
- static gin::WrapperInfo kWrapperInfo;
- virtual gin::WrapperInfo* GetWrapperInfo() OVERRIDE;
static void EnsureRegistered(v8::Isolate* isolate);
BindingsSupport::AsyncWaitID wait_id() const {
« no previous file with comments | « gin/wrappable_unittest.cc ('k') | mojo/apps/js/bindings/waiting_callback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698