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

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

Issue 2205693004: Rename and repurpose ComponentInstallerTraits::CanAutoUpdate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cus-gp
Patch Set: rebase Created 4 years, 4 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: chrome/browser/component_updater/file_type_policies_component_installer.cc
diff --git a/chrome/browser/component_updater/file_type_policies_component_installer.cc b/chrome/browser/component_updater/file_type_policies_component_installer.cc
index 4ca6ac60124acd1b61db0e2b53ed271494d37f2f..b38f5d620b8a3f3d04ad86dacdd5b1193fc74a4d 100644
--- a/chrome/browser/component_updater/file_type_policies_component_installer.cc
+++ b/chrome/browser/component_updater/file_type_policies_component_installer.cc
@@ -56,8 +56,9 @@ void LoadFileTypesFromDisk(const base::FilePath& pb_path) {
namespace component_updater {
-bool FileTypePoliciesComponentInstallerTraits::CanAutoUpdate() const {
- return true;
+bool FileTypePoliciesComponentInstallerTraits::
+ SupportsGroupPolicyEnabledComponentUpdates() const {
+ return false;
}
bool FileTypePoliciesComponentInstallerTraits::RequiresNetworkEncryption()

Powered by Google App Engine
This is Rietveld 408576698