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

Unified Diff: chrome/common/chrome_content_client.cc

Issue 2338483005: cros: Fix "Add person" long delay regression (Closed)
Patch Set: Created 4 years, 3 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/common/chrome_content_client.cc
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc
index 92a23fb892bf60837489d184c5dfb20e4f3104a8..61b584567c1fafc3d3422d8d97637e1dfb363d3f 100644
--- a/chrome/common/chrome_content_client.cc
+++ b/chrome/common/chrome_content_client.cc
@@ -555,12 +555,14 @@ void ChromeContentClient::AddPepperPlugins(
if (max_flash) {
plugins->push_back(*max_flash);
} else {
-#if defined(GOOGLE_CHROME_BUILD) && defined(FLAPPER_AVAILABLE)
+#if defined(GOOGLE_CHROME_BUILD) && defined(FLAPPER_AVAILABLE) && \
+ !defined(OS_CHROMEOS)
// Add a fake Flash plugin even though it doesn't actually exist - if a
// web page requests it, it will be component-updated on-demand. There is
// nothing that guarantees the component update will give us the
// FLAPPER_VERSION_STRING version of Flash, but using this version seems
// better than any other hardcoded alternative.
+ // Except for ChromeOS where Flash plugin is bundled.
plugins->push_back(CreatePepperFlashInfo(
base::FilePath::FromUTF8Unsafe(ChromeContentClient::kNotPresent),
FLAPPER_VERSION_STRING, false, false, true));
« 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