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

Unified Diff: chrome/renderer/pepper_plugin_registry.h

Issue 2262002: Add ppapi plugins to about:plugins (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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
Index: chrome/renderer/pepper_plugin_registry.h
===================================================================
--- chrome/renderer/pepper_plugin_registry.h (revision 48402)
+++ chrome/renderer/pepper_plugin_registry.h (working copy)
@@ -1,28 +0,0 @@
-// 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.
-
-#ifndef CHROME_RENDERER_PEPPER_PLUGIN_REGISTRY_H_
-#define CHROME_RENDERER_PEPPER_PLUGIN_REGISTRY_H_
-
-#include <string>
-#include <map>
-
-#include "webkit/glue/plugins/pepper_plugin_module.h"
-
-// This class holds references to all of the known pepper plugin modules.
-class PepperPluginRegistry {
- public:
- static PepperPluginRegistry* GetInstance();
-
- pepper::PluginModule* GetModule(const std::string& mime_type) const;
-
- private:
- PepperPluginRegistry();
-
- typedef scoped_refptr<pepper::PluginModule> ModuleHandle;
- typedef std::map<std::string, ModuleHandle> ModuleMap;
- ModuleMap modules_;
-};
-
-#endif // CHROME_RENDERER_PEPPER_PLUGIN_REGISTRY_H_

Powered by Google App Engine
This is Rietveld 408576698