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

Unified Diff: components/component_updater/component_updater_constants.cc

Issue 375973003: Componentize component_updater: Use Configurator to build query parameters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix one gyp omission Created 6 years, 5 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: components/component_updater/component_updater_constants.cc
diff --git a/components/component_updater/component_updater_constants.cc b/components/component_updater/component_updater_constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..81d4b9b67df96301f23d6966fcf85edad55b17a9
--- /dev/null
+++ b/components/component_updater/component_updater_constants.cc
@@ -0,0 +1,21 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/component_updater/component_updater_constants.h"
+
+#define FPL FILE_PATH_LITERAL
+
+namespace component_updater {
+
+// File name of the Pepper Flash plugin on different platforms.
+const base::FilePath::CharType kPepperFlashPluginFilename[] =
+#if defined(OS_MACOSX)
+ FPL("PepperFlashPlayer.plugin");
+#elif defined(OS_WIN)
+ FPL("pepflashplayer.dll");
+#else // OS_LINUX, etc.
+ FPL("libpepflashplayer.so");
+#endif
+
+} // namespace component_updater

Powered by Google App Engine
This is Rietveld 408576698