| 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_
|
|
|