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

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

Issue 8344025: Add a new globals object for PPAPI tracking information. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « ppapi/shared_impl/test_globals.h ('k') | ppapi/shared_impl/tracker_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "ppapi/shared_impl/test_globals.h" 5 #include "ppapi/shared_impl/test_globals.h"
6 6
7 namespace ppapi { 7 namespace ppapi {
8 8
9 TestGlobals::TestGlobals() : ppapi::PpapiGlobals() { 9 TestGlobals::TestGlobals() : ppapi::PpapiGlobals() {
10 } 10 }
11 11
12 TestGlobals::~TestGlobals() { 12 TestGlobals::~TestGlobals() {
13 } 13 }
14 14
15 ResourceTracker* TestGlobals::GetResourceTracker() { 15 ResourceTracker* TestGlobals::GetResourceTracker() {
16 return &resource_tracker_; 16 return &resource_tracker_;
17 } 17 }
18 18
19 VarTracker* TestGlobals::GetVarTracker() { 19 VarTracker* TestGlobals::GetVarTracker() {
20 return &var_tracker_; 20 return &var_tracker_;
21 } 21 }
22 22
23 } // namespace ppapi 23 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/test_globals.h ('k') | ppapi/shared_impl/tracker_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698