Home
last modified time | relevance | path

Searched refs:plugin_metadata (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/chrome/browser/plugins/
Dplugin_metadata_unittest.cc14 PluginMetadata* plugin_metadata, in GetSecurityStatus() argument
21 return plugin_metadata->GetSecurityStatus(plugin); in GetSecurityStatus()
34 PluginMetadata plugin_metadata("claybrick-writer", in TEST() local
42 GetSecurityStatus(&plugin_metadata, "1.2.3")); in TEST()
44 plugin_metadata.AddVersion(Version("9.4.1"), kRequiresAuthorization); in TEST()
45 plugin_metadata.AddVersion(Version("10"), kOutOfDate); in TEST()
46 plugin_metadata.AddVersion(Version("10.2.1"), kUpToDate); in TEST()
49 EXPECT_EQ(kOutOfDate, GetSecurityStatus(&plugin_metadata, "foo")); in TEST()
51 EXPECT_EQ(kOutOfDate, GetSecurityStatus(&plugin_metadata, "0")); in TEST()
52 EXPECT_EQ(kOutOfDate, GetSecurityStatus(&plugin_metadata, "1.2.3")); in TEST()
[all …]
Dplugin_observer.cc63 scoped_ptr<PluginMetadata> plugin_metadata);
84 scoped_ptr<PluginMetadata> plugin_metadata) in ConfirmInstallDialogDelegate() argument
88 plugin_metadata_(plugin_metadata.Pass()) { in ConfirmInstallDialogDelegate()
326 scoped_ptr<PluginMetadata> plugin_metadata; in OnFindMissingPlugin() local
329 mime_type, lang, &installer, &plugin_metadata); in OnFindMissingPlugin()
335 DCHECK(plugin_metadata.get()); in OnFindMissingPlugin()
338 new PluginPlaceholderHost(this, placeholder_id, plugin_metadata->name(), in OnFindMissingPlugin()
342 plugin_metadata.Pass(), in OnFindMissingPlugin()
349 const PluginMetadata* plugin_metadata) { in InstallMissingPlugin() argument
350 if (plugin_metadata->url_for_display()) { in InstallMissingPlugin()
[all …]
Dplugin_info_message_filter.cc152 scoped_ptr<PluginMetadata> plugin_metadata; in PluginsLoaded() local
157 &plugin_metadata)) { in PluginsLoaded()
158 context_.DecidePluginStatus(params, output.plugin, plugin_metadata.get(), in PluginsLoaded()
162 if (plugin_metadata) { in PluginsLoaded()
163 output.group_identifier = plugin_metadata->identifier(); in PluginsLoaded()
164 output.group_name = plugin_metadata->name(); in PluginsLoaded()
199 const PluginMetadata* plugin_metadata, in DecidePluginStatus() argument
225 plugin_metadata->identifier(), &plugin_setting, in DecidePluginStatus()
230 plugin_metadata->GetSecurityStatus(plugin); in DecidePluginStatus()
248 plugin_prefs_->PolicyStatusForPlugin(plugin_metadata->name()); in DecidePluginStatus()
[all …]
Dplugin_infobar_delegates.cc177 scoped_ptr<PluginMetadata> plugin_metadata) { in Create() argument
180 base::string16 name(plugin_metadata->name()); in Create()
183 installer, plugin_metadata.Pass(), l10n_util::GetStringFUTF16( in Create()
191 scoped_ptr<PluginMetadata> plugin_metadata, in OutdatedPluginInfoBarDelegate() argument
193 : PluginInfoBarDelegate(plugin_metadata->identifier()), in OutdatedPluginInfoBarDelegate()
195 plugin_metadata_(plugin_metadata.Pass()), in OutdatedPluginInfoBarDelegate()
310 scoped_ptr<PluginMetadata> plugin_metadata, in Create() argument
312 base::string16 name(plugin_metadata->name()); in Create()
322 installer, plugin_metadata.Pass(), callback, true, in Create()
334 scoped_ptr<PluginMetadata> plugin_metadata, in Replace() argument
[all …]
Dplugin_prefs.cc142 scoped_ptr<PluginMetadata> plugin_metadata( in EnablePlugin() local
145 PolicyStatus group_status = PolicyStatusForPlugin(plugin_metadata->name()); in EnablePlugin()
183 scoped_ptr<PluginMetadata> plugin_metadata( in EnablePluginInternal() local
186 group_name = plugin_metadata->name(); in EnablePluginInternal()
194 scoped_ptr<PluginMetadata> plugin_metadata( in EnablePluginInternal() local
196 DCHECK(!plugin_metadata->name().empty()); in EnablePluginInternal()
197 if (group_name == plugin_metadata->name()) { in EnablePluginInternal()
230 scoped_ptr<PluginMetadata> plugin_metadata( in IsPluginEnabled() local
232 base::string16 group_name = plugin_metadata->name(); in IsPluginEnabled()
554 scoped_ptr<PluginMetadata> plugin_metadata( in OnUpdatePreferences() local
[all …]
Dplugin_finder.h53 scoped_ptr<PluginMetadata>* plugin_metadata);
60 scoped_ptr<PluginMetadata>* plugin_metadata);
Dplugin_finder.cc190 scoped_ptr<PluginMetadata>* plugin_metadata) { in FindPlugin() argument
199 *plugin_metadata = metadata_it->second->Clone(); in FindPlugin()
214 scoped_ptr<PluginMetadata>* plugin_metadata) { in FindPluginWithIdentifier() argument
219 *plugin_metadata = metadata_it->second->Clone(); in FindPluginWithIdentifier()
Dplugin_info_message_filter.h48 const PluginMetadata* plugin_metadata,
57 scoped_ptr<PluginMetadata>* plugin_metadata) const;
Dplugin_infobar_delegates.h137 scoped_ptr<PluginMetadata> plugin_metadata,
144 scoped_ptr<PluginMetadata> plugin_metadata,
Dplugin_observer.h51 const PluginMetadata* plugin_metadata);
/external/chromium_org/chrome/browser/ui/pdf/
Dpdf_unsupported_feature.cc288 scoped_ptr<PluginMetadata> plugin_metadata( in PDFUnsupportedFeaturePromptDelegate() local
291 reader_vulnerable_ = plugin_metadata->GetSecurityStatus(*reader) != in PDFUnsupportedFeaturePromptDelegate()
375 scoped_ptr<PluginMetadata> plugin_metadata( in GotPluginsCallback() local
377 if (plugin_metadata->identifier() != kAdobeReaderIdentifier) in GotPluginsCallback()
386 if (plugin_prefs->PolicyStatusForPlugin(plugin_metadata->name()) == in GotPluginsCallback()
/external/chromium_org/chrome/browser/ui/webui/
Dplugins_ui.cc354 scoped_ptr<PluginMetadata> plugin_metadata( in PluginsLoaded() local
356 base::string16 group_name = plugin_metadata->name(); in PluginsLoaded()
357 std::string group_identifier = plugin_metadata->identifier(); in PluginsLoaded()
435 bool out_of_date = plugin_metadata->GetSecurityStatus(*active_plugin) == in PluginsLoaded()
438 group_data->SetString("update_url", plugin_metadata->plugin_url().spec()); in PluginsLoaded()
/external/chromium_org/chrome/browser/extensions/api/content_settings/
Dcontent_settings_api.cc275 scoped_ptr<PluginMetadata> plugin_metadata(finder->GetPluginMetadata(*it)); in OnGotPlugins() local
276 const std::string& group_identifier = plugin_metadata->identifier(); in OnGotPlugins()
283 dict->SetString(keys::kDescriptionKey, plugin_metadata->name()); in OnGotPlugins()
/external/chromium_org/chrome/browser/
Dpepper_broker_infobar_delegate.cc146 scoped_ptr<PluginMetadata> plugin_metadata( in GetMessageText() local
149 plugin_metadata->name(), in GetMessageText()
/external/chromium_org/chrome/browser/ui/cocoa/content_settings/
Dcontent_setting_bubble_cocoa.mm14 #include "chrome/browser/plugins/plugin_metadata.h"
/external/chromium_org/chrome/
Dchrome_browser.gypi1453 'browser/plugins/plugin_metadata.cc',
1454 'browser/plugins/plugin_metadata.h',