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

Unified Diff: src/trusted/weak_ref/weak_ref.h

Issue 7216027: typesafe call-on-main-thread interface. no cast to/from void* required. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 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 | « src/trusted/weak_ref/call_on_main_thread.h ('k') | src/trusted/weak_ref/weak_ref.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/weak_ref/weak_ref.h
===================================================================
--- src/trusted/weak_ref/weak_ref.h (revision 5730)
+++ src/trusted/weak_ref/weak_ref.h (working copy)
@@ -28,6 +28,9 @@
// In the normal execution, the callback data is present, and
// ownership is released to the callback function.
+#ifndef NATIVE_CLIENT_SRC_TRUSTED_WEAK_REF_WEAK_REF_H_
+#define NATIVE_CLIENT_SRC_TRUSTED_WEAK_REF_WEAK_REF_H_
+
#include <set>
#include "native_client/src/include/portability.h"
@@ -206,3 +209,5 @@
};
} // namespace nacl
+
+#endif
« no previous file with comments | « src/trusted/weak_ref/call_on_main_thread.h ('k') | src/trusted/weak_ref/weak_ref.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698