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

Unified Diff: webkit/plugins/ppapi/mock_resource.h

Issue 20165002: Move webkit/plugins/ppapi to content/renderer/pepper. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more more clang fun Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/npapi_glue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/mock_resource.h
===================================================================
--- webkit/plugins/ppapi/mock_resource.h (revision 213561)
+++ webkit/plugins/ppapi/mock_resource.h (working copy)
@@ -1,26 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef WEBKIT_PLUGINS_PPAPI_MOCK_RESOURCE_H_
-#define WEBKIT_PLUGINS_PPAPI_MOCK_RESOURCE_H_
-
-#include "ppapi/shared_impl/resource.h"
-
-namespace webkit {
-namespace ppapi {
-
-// Tests can derive from this to implement special test-specific resources.
-// It's assumed that a test will only need one mock resource, so it can
-// static_cast to get its own implementation.
-class MockResource : public ::ppapi::Resource {
- public:
- MockResource(PP_Instance instance)
- : Resource(::ppapi::OBJECT_IS_IMPL, instance) {}
- virtual ~MockResource() {}
-};
-
-} // namespace ppapi
-} // namespace webkit
-
-#endif // WEBKIT_PLUGINS_PPAPI_MOCK_RESOURCE_H_
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/npapi_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698