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

Unified Diff: webkit/plugins/npapi/plugin_list.cc

Issue 10876083: [4] Changing content_settings_api to use PluginFinder's async interface (Closed) Base URL: http://git.chromium.org/chromium/src.git@async_start
Patch Set: Created 8 years, 4 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
« webkit/plugins/npapi/plugin_list.h ('K') | « webkit/plugins/npapi/plugin_list.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_list.cc
diff --git a/webkit/plugins/npapi/plugin_list.cc b/webkit/plugins/npapi/plugin_list.cc
index 1ead724dfee9b884cfb4b60459bedc264989ec37..bbaca783235b98a472f233d8b11b51ef13b78871 100644
--- a/webkit/plugins/npapi/plugin_list.cc
+++ b/webkit/plugins/npapi/plugin_list.cc
@@ -291,7 +291,16 @@ PluginList::PluginList()
ARRAYSIZE_UNSAFE(kGroupDefinitions));
}
-// TODO(ibraaaa): DELETE and add a different one. http://crbug.com/124396
+PluginList::PluginList(int dummy)
+ :
+#if defined(OS_WIN)
+ dont_load_new_wmp_(false),
+#endif
+ loading_state_(LOADING_STATE_NEEDS_REFRESH) {
+ // Don't do platform-dependent initialization in unit tests.
+}
+
+// TODO(ibraaaa): DELETE. http://crbug.com/124396
PluginList::PluginList(const PluginGroupDefinition* definitions,
size_t num_definitions)
:
« webkit/plugins/npapi/plugin_list.h ('K') | « webkit/plugins/npapi/plugin_list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698