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

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

Issue 1986403002: Component updater for FileTypePolicies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@replace_download_ext
Patch Set: Fix test's enum check Created 4 years, 7 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.h
diff --git a/chrome/browser/component_updater/ev_whitelist_component_installer.h b/chrome/browser/component_updater/file_type_policies_component_installer.h
similarity index 65%
copy from chrome/browser/component_updater/ev_whitelist_component_installer.h
copy to chrome/browser/component_updater/file_type_policies_component_installer.h
index c9ad8b55c0f45f8add2aa19fa4aa14f1245af3c7..3de2b7fdc4479dda646db8415a44ad252d4718bd 100644
--- a/chrome/browser/component_updater/ev_whitelist_component_installer.h
+++ b/chrome/browser/component_updater/file_type_policies_component_installer.h
@@ -1,9 +1,9 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2016 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.
-#ifndef CHROME_BROWSER_COMPONENT_UPDATER_EV_WHITELIST_COMPONENT_INSTALLER_H_
-#define CHROME_BROWSER_COMPONENT_UPDATER_EV_WHITELIST_COMPONENT_INSTALLER_H_
+#ifndef CHROME_BROWSER_COMPONENT_UPDATER_FILE_TYPE_POLICIES_COMPONENT_INSTALLER_H_
+#define CHROME_BROWSER_COMPONENT_UPDATER_FILE_TYPE_POLICIES_COMPONENT_INSTALLER_H_
#include <stdint.h>
#include <string>
@@ -22,10 +22,11 @@ namespace component_updater {
class ComponentUpdateService;
-class EVWhitelistComponentInstallerTraits : public ComponentInstallerTraits {
+class FileTypePoliciesComponentInstallerTraits
+ : public ComponentInstallerTraits {
public:
- EVWhitelistComponentInstallerTraits() {}
- ~EVWhitelistComponentInstallerTraits() override {}
+ FileTypePoliciesComponentInstallerTraits() {}
+ ~FileTypePoliciesComponentInstallerTraits() override {}
private:
// The following methods override ComponentInstallerTraits.
@@ -45,14 +46,14 @@ class EVWhitelistComponentInstallerTraits : public ComponentInstallerTraits {
static base::FilePath GetInstalledPath(const base::FilePath& base);
- DISALLOW_COPY_AND_ASSIGN(EVWhitelistComponentInstallerTraits);
+ DISALLOW_COPY_AND_ASSIGN(FileTypePoliciesComponentInstallerTraits);
};
// Call once during startup to make the component update service aware of
-// the EV whitelist.
-void RegisterEVWhitelistComponent(ComponentUpdateService* cus,
- const base::FilePath& user_data_dir);
+// the File Type Policies component.
+void RegisterFileTypePoliciesComponent(ComponentUpdateService* cus,
+ const base::FilePath& user_data_dir);
} // namespace component_updater
-#endif // CHROME_BROWSER_COMPONENT_UPDATER_EV_WHITELIST_COMPONENT_INSTALLER_H_
+#endif // CHROME_BROWSER_COMPONENT_UPDATER_FILE_TYPE_POLICIES_COMPONENT_INSTALLER_H_
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/component_updater/file_type_policies_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698