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

Side by Side Diff: ppapi/proxy/mock_resource.cc

Issue 7629017: Add a unified resource tracker shared between the proxy and the impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/proxy/mock_resource.h" 5 #include "ppapi/proxy/mock_resource.h"
6 6
7 using ppapi::HostResource; 7 using ppapi::HostResource;
8 using ppapi::Resource;
8 9
9 namespace pp { 10 namespace pp {
10 namespace proxy { 11 namespace proxy {
11 12
12 MockResource::MockResource(const HostResource& resource) 13 MockResource::MockResource(const HostResource& resource) : Resource(resource) {
13 : PluginResource(resource) {
14 } 14 }
15 15
16 MockResource::~MockResource() { 16 MockResource::~MockResource() {
17 } 17 }
18 18
19 } // namespace proxy 19 } // namespace proxy
20 } // namespace pp 20 } // namespace pp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698