summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/mock_resource.cc
blob: 21e5381c9469f365396dbf30c0cad0dba429d08e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ppapi/proxy/mock_resource.h"

namespace pp {
namespace proxy {

MockResource::MockResource(const HostResource& resource)
    : PluginResource(resource) {
}

MockResource::~MockResource() {
}

MockResource* MockResource::AsMockResource() {
  return this;
}

}  // namespace proxy
}  // namespace pp