- add sources.
[platform/framework/web/crosswalk.git] / src / native_client_sdk / src / tests / nacl_io_test / fake_core_interface.cc
1 // Copyright (c) 2013 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 "fake_core_interface.h"
6
7 FakeCoreInterface::FakeCoreInterface() {}
8
9 void FakeCoreInterface::AddRefResource(PP_Resource handle) {
10   return resource_manager_.AddRef(handle);
11 }
12
13 void FakeCoreInterface::ReleaseResource(PP_Resource handle) {
14   return resource_manager_.Release(handle);
15 }