| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_INSTALLER_H_ |
| 6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_INSTALLER_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_INSTALLER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "chrome/browser/component_updater/component_updater_service.h" | 10 #include "chrome/browser/component_updater/component_updater_service.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 virtual ~VersionedTestInstaller(); | 60 virtual ~VersionedTestInstaller(); |
| 61 | 61 |
| 62 virtual bool Install(const base::DictionaryValue& manifest, | 62 virtual bool Install(const base::DictionaryValue& manifest, |
| 63 const base::FilePath& unpack_path) OVERRIDE; | 63 const base::FilePath& unpack_path) OVERRIDE; |
| 64 | 64 |
| 65 virtual bool GetInstalledFile(const std::string& file, | 65 virtual bool GetInstalledFile(const std::string& file, |
| 66 base::FilePath* installed_file) OVERRIDE; | 66 base::FilePath* installed_file) OVERRIDE; |
| 67 | 67 |
| 68 private: | 68 private: |
| 69 base::FilePath install_directory_; | 69 base::FilePath install_directory_; |
| 70 base::Version current_version_; | 70 Version current_version_; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_INSTALLER_H_ | 73 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_INSTALLER_H_ |
| OLD | NEW |