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

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

Issue 6905088: New thunk system for Pepper proxy and implementation (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ppapi/shared_impl/tracker_base.h"
6
7 #include "base/logging.h"
8
9 namespace ppapi {
10 namespace shared_impl {
11
12 static TrackerBase* (*global_getter)() = NULL;
piman 2011/05/06 17:00:09 g_global_getter
13
14 // static
15 void TrackerBase::Init(TrackerBase* (*getter)()) {
16 global_getter = getter;
17 }
18
19 // static
20 TrackerBase* TrackerBase::Get() {
21 return global_getter();
22 }
23
24 } // namespace shared_impl
25 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/tracker_base.h ('k') | ppapi/thunk/enter.h » ('j') | ppapi/thunk/enter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698