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

Unified Diff: chrome_content_client.cc

Issue 9969131: Disable bundled Pepper Flash on Linux on the 1084 branch. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1084/src/chrome/common/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_content_client.cc
===================================================================
--- chrome_content_client.cc (revision 130474)
+++ chrome_content_client.cc (working copy)
@@ -216,13 +216,8 @@
} else {
// Use the bundled Pepper Flash if it's enabled and available.
// It's currently only enabled by default on Linux ia32 and x64.
-#if defined(FLAPPER_AVAILABLE) && defined(OS_LINUX) && \
- (defined(ARCH_CPU_X86) || defined(ARCH_CPU_X86_64))
- bool bundled_flapper_enabled = true;
-#else
bool bundled_flapper_enabled = CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableBundledPpapiFlash);
-#endif
bundled_flapper_enabled &= !CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableBundledPpapiFlash);
if (!bundled_flapper_enabled)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698