Home | History | Annotate | Download | only in shared_impl

Lines Matching defs:PpapiGlobals

40 class PPAPI_SHARED_EXPORT PpapiGlobals {
43 PpapiGlobals();
47 // tests that use this feature, the "test" PpapiGlobals should be constructed
50 explicit PpapiGlobals(PerThreadForTest);
52 virtual ~PpapiGlobals();
55 static PpapiGlobals* Get();
57 // This allows us to set a given PpapiGlobals object as the PpapiGlobals for
58 // a given thread. After setting the PpapiGlobals for a thread, Get() will
59 // return that PpapiGlobals when Get() is called on that thread. Other threads
60 // are unaffected. This allows us to have tests which use >1 PpapiGlobals in
64 // PpapiGlobals object must have been constructed using the "PerThreadForTest"
66 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
151 static PpapiGlobals* GetThreadLocalPointer();
160 DISALLOW_COPY_AND_ASSIGN(PpapiGlobals);