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

Unified Diff: webkit/glue/plugins/plugin_list_posix.cc

Issue 2716002: Add a command line switch to enable the pepper testing interface. This moves ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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: webkit/glue/plugins/plugin_list_posix.cc
===================================================================
--- webkit/glue/plugins/plugin_list_posix.cc (revision 49168)
+++ webkit/glue/plugins/plugin_list_posix.cc (working copy)
@@ -9,13 +9,14 @@
#include "base/path_service.h"
#include "base/string_util.h"
#include "build/build_config.h"
+#include "webkit/glue/plugins/plugin_switches.h"
namespace {
// Return true if we're in debug-plugin-loading mode.
bool DebugPluginLoading() {
- static const char kDebugPluginLoading[] = "debug-plugin-loading";
- return CommandLine::ForCurrentProcess()->HasSwitch(kDebugPluginLoading);
+ return CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDebugPluginLoading);
}
// Shorthand way of logging plugin load status.

Powered by Google App Engine
This is Rietveld 408576698