summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_finder.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/plugin_finder.h')
-rw-r--r--chrome/browser/plugin_finder.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/plugin_finder.h b/chrome/browser/plugin_finder.h
index 3359edb..a0e88b7 100644
--- a/chrome/browser/plugin_finder.h
+++ b/chrome/browser/plugin_finder.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -27,6 +27,10 @@ class PluginFinder {
static PluginFinder* GetInstance();
+ // Loads the plug-in information from the browser resources and parses it.
+ // Returns NULL if the plug-in list couldn't be parsed.
+ static scoped_ptr<base::ListValue> LoadPluginList();
+
// Finds a plug-in for the given MIME type and language (specified as an IETF
// language tag, i.e. en-US) and calls one of the two passed in callbacks,
// depending on whether a plug-in is found.
@@ -41,6 +45,8 @@ class PluginFinder {
PluginFinder();
~PluginFinder();
+ static base::ListValue* LoadPluginListInternal();
+
scoped_ptr<base::ListValue> plugin_list_;
std::map<std::string, PluginInstaller*> installers_;