| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WEBKIT_PLUGINS_PPAPI_HOST_RESOURCE_TRACKER_H_ | |
| 6 #define WEBKIT_PLUGINS_PPAPI_HOST_RESOURCE_TRACKER_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | |
| 10 #include "ppapi/shared_impl/resource_tracker.h" | |
| 11 | |
| 12 namespace webkit { | |
| 13 namespace ppapi { | |
| 14 | |
| 15 class HostResourceTracker : public ::ppapi::ResourceTracker { | |
| 16 public: | |
| 17 HostResourceTracker(); | |
| 18 virtual ~HostResourceTracker(); | |
| 19 | |
| 20 // ppapi::ResourceTracker overrides. | |
| 21 virtual void LastPluginRefWasDeleted(::ppapi::Resource* object) OVERRIDE; | |
| 22 | |
| 23 private: | |
| 24 DISALLOW_COPY_AND_ASSIGN(HostResourceTracker); | |
| 25 }; | |
| 26 | |
| 27 } // namespace ppapi | |
| 28 } // namespace webkit | |
| 29 | |
| 30 #endif // WEBKIT_PLUGINS_PPAPI_HOST_RESOURCE_TRACKER_H_ | |
| OLD | NEW |