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

Unified Diff: ppapi/shared_impl/ppapi_globals.h

Issue 11859015: Pepper: Introduce ThreadAwareCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and update tests accordingly. Created 7 years, 11 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: ppapi/shared_impl/ppapi_globals.h
diff --git a/ppapi/shared_impl/ppapi_globals.h b/ppapi/shared_impl/ppapi_globals.h
index 0573c982f77d286501b814dd46eeb6b55fcb57e5..7d376d04e3d957615eb97061a5510c968ab1598c 100644
--- a/ppapi/shared_impl/ppapi_globals.h
+++ b/ppapi/shared_impl/ppapi_globals.h
@@ -43,8 +43,8 @@ class PPAPI_SHARED_EXPORT PpapiGlobals {
// purposes. This avoids setting the global static ppapi_globals_. For unit
// tests that use this feature, the "test" PpapiGlobals should be constructed
// using this method. See SetPpapiGlobalsOnThreadForTest for more information.
- struct ForTest {};
- explicit PpapiGlobals(ForTest);
+ struct ForPerThreadTest {};
dmichael (off chromium) 2013/01/15 22:43:52 Since it's really the PpapiGlobals that's "Per-thr
yzshen1 2013/01/16 18:55:59 Done.
+ explicit PpapiGlobals(ForPerThreadTest);
virtual ~PpapiGlobals();
@@ -64,7 +64,7 @@ class PPAPI_SHARED_EXPORT PpapiGlobals {
// the same process, e.g. for having 1 thread emulate the "host" and 1 thread
// emulate the "plugin".
//
- // PpapiGlobals object must have been constructed using the "ForTest"
+ // PpapiGlobals object must have been constructed using the "ForPerThreadTest"
// parameter.
static void SetPpapiGlobalsOnThreadForTest(PpapiGlobals* ptr);

Powered by Google App Engine
This is Rietveld 408576698