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

Unified Diff: chrome/browser/component_updater/pepper_flash_component_installer.cc

Issue 2578783002: Add flags entry to enable Chrome OS component updates fature. (Closed)
Patch Set: Created 4 years 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 | « chrome/browser/about_flags.cc ('k') | chrome/common/chrome_features.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/pepper_flash_component_installer.cc
diff --git a/chrome/browser/component_updater/pepper_flash_component_installer.cc b/chrome/browser/component_updater/pepper_flash_component_installer.cc
index 77e261784161be9dd84eaa1a1d06fabb8090c10f..3e95ec5c1d0d71c5127377527b8ff77b770b150a 100644
--- a/chrome/browser/component_updater/pepper_flash_component_installer.cc
+++ b/chrome/browser/component_updater/pepper_flash_component_installer.cc
@@ -45,7 +45,7 @@
#include "ppapi/shared_impl/ppapi_permissions.h"
#if defined(OS_CHROMEOS)
-#include "base/feature_list.h"
+#include "chrome/common/chrome_features.h"
#include "chromeos/dbus/dbus_method_call_status.h"
#include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/image_loader_client.h"
@@ -316,11 +316,8 @@ void RegisterPepperFlashComponent(ComponentUpdateService* cus) {
return;
#if defined(OS_CHROMEOS)
- const base::Feature kCrosCompUpdates {
- "CrosCompUpdates", base::FEATURE_DISABLED_BY_DEFAULT
- };
- if (!base::FeatureList::IsEnabled(kCrosCompUpdates))
- return;
+ if (!base::FeatureList::IsEnabled(features::kCrosCompUpdates))
+ return;
#endif // defined(OS_CHROMEOS)
std::unique_ptr<ComponentInstallerTraits> traits(
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/common/chrome_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698