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

Side by Side Diff: ppapi/shared_impl/tracker_base.h

Issue 7655002: Convert the pp::proxy namespace to the ppapi::proxy namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_SHARED_IMPL_TRACKER_BASE_H_ 5 #ifndef PPAPI_SHARED_IMPL_TRACKER_BASE_H_
6 #define PPAPI_SHARED_IMPL_TRACKER_BASE_H_ 6 #define PPAPI_SHARED_IMPL_TRACKER_BASE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 22 matching lines...) Expand all
33 // process. 33 // process.
34 static void Init(TrackerBase*(*getter)()); 34 static void Init(TrackerBase*(*getter)());
35 35
36 // Retrieves the global tracker. This will be NULL if you haven't called 36 // Retrieves the global tracker. This will be NULL if you haven't called
37 // Init() first (it should be unnecessary to NULL-check this). 37 // Init() first (it should be unnecessary to NULL-check this).
38 static TrackerBase* Get(); 38 static TrackerBase* Get();
39 39
40 // Returns the function object corresponding to the given ID, or NULL if 40 // Returns the function object corresponding to the given ID, or NULL if
41 // there isn't one. 41 // there isn't one.
42 virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst, 42 virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst,
43 pp::proxy::InterfaceID id) = 0; 43 proxy::InterfaceID id) = 0;
44 44
45 virtual VarTracker* GetVarTracker() = 0; 45 virtual VarTracker* GetVarTracker() = 0;
46 virtual ResourceTracker* GetResourceTracker() = 0; 46 virtual ResourceTracker* GetResourceTracker() = 0;
47 }; 47 };
48 48
49 } // namespace ppapi 49 } // namespace ppapi
50 50
51 #endif // PPAPI_SHARED_IMPL_TRACKER_BASE_H_ 51 #endif // PPAPI_SHARED_IMPL_TRACKER_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698