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

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

Issue 2565043002: 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 2814962cf2d53ca7bfdad0c5bf93767a3cf963a2..46dcbad9acc38c1aa03049fb7fbaf82763f54a3a 100644
--- a/chrome/browser/component_updater/pepper_flash_component_installer.cc
+++ b/chrome/browser/component_updater/pepper_flash_component_installer.cc
@@ -45,9 +45,9 @@
#include "ppapi/shared_impl/ppapi_permissions.h"
#if defined(OS_CHROMEOS)
-#include "base/feature_list.h"
#include "chrome/browser/chromeos/settings/cros_settings.h"
#include "chrome/browser/ui/ash/system_tray_delegate_chromeos.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"
@@ -114,10 +114,7 @@ void ImageLoaderRegistration(const std::string& version,
// Determine whether or not to skip registering flash component updates.
bool SkipFlashRegistration(ComponentUpdateService* cus) {
- const base::Feature kCrosCompUpdates {
- "CrosCompUpdates", base::FEATURE_DISABLED_BY_DEFAULT
- };
- if (!base::FeatureList::IsEnabled(kCrosCompUpdates))
+ if (!base::FeatureList::IsEnabled(features::kCrosCompUpdates))
return true;
// If the version of Chrome is pinned on the device (probably via enterprise
« 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