OLD | NEW |
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/plugin_resource.h" | 5 #include "ppapi/proxy/plugin_resource.h" |
6 | 6 |
7 namespace pp { | 7 namespace pp { |
8 namespace proxy { | 8 namespace proxy { |
9 | 9 |
10 PluginResource::PluginResource() { | 10 PluginResource::PluginResource() { |
11 } | 11 } |
12 | 12 |
13 PluginResource::~PluginResource() { | 13 PluginResource::~PluginResource() { |
14 } | 14 } |
15 | 15 |
16 #define DEFINE_TYPE_GETTER(RESOURCE) \ | 16 #define DEFINE_TYPE_GETTER(RESOURCE) \ |
17 RESOURCE* PluginResource::As##RESOURCE() { return NULL; } | 17 RESOURCE* PluginResource::As##RESOURCE() { return NULL; } |
18 FOR_ALL_RESOURCES(DEFINE_TYPE_GETTER) | 18 FOR_ALL_PLUGIN_RESOURCES(DEFINE_TYPE_GETTER) |
19 #undef DEFINE_TYPE_GETTER | 19 #undef DEFINE_TYPE_GETTER |
20 | 20 |
21 | |
22 } // namespace proxy | 21 } // namespace proxy |
23 } // namespace pp | 22 } // namespace pp |
OLD | NEW |