Lines Matching defs:PpapiGlobals
38 class PPAPI_SHARED_EXPORT PpapiGlobals {
41 PpapiGlobals();
45 // tests that use this feature, the "test" PpapiGlobals should be constructed
48 explicit PpapiGlobals(PerThreadForTest);
50 virtual ~PpapiGlobals();
53 static PpapiGlobals* Get();
55 // This allows us to set a given PpapiGlobals object as the PpapiGlobals for
56 // a given thread. After setting the PpapiGlobals for a thread, Get() will
57 // return that PpapiGlobals when Get() is called on that thread. Other threads
58 // are unaffected. This allows us to have tests which use >1 PpapiGlobals in
62 // PpapiGlobals object must have been constructed using the "PerThreadForTest"
64 static void SetPpapiGlobalsOnThreadForTest(PpapiGlobals* ptr);
105 // constructor, so PpapiGlobals must be created on the main thread.
108 // In tests, the PpapiGlobals object persists across tests but the MLP pointer
138 static PpapiGlobals* GetThreadLocalPointer();
142 DISALLOW_COPY_AND_ASSIGN(PpapiGlobals);