OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_EXTENSIONS_EXTENSION_SERVICE_TEST_WITH_INSTALL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_WITH_INSTALL_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_WITH_INSTALL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_WITH_INSTALL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, | 50 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, |
51 const base::FilePath& pem_path, | 51 const base::FilePath& pem_path, |
52 InstallState install_state, | 52 InstallState install_state, |
53 int creation_flags); | 53 int creation_flags); |
54 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, | 54 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, |
55 const base::FilePath& pem_path, | 55 const base::FilePath& pem_path, |
56 InstallState install_state); | 56 InstallState install_state); |
57 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, | 57 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, |
58 InstallState install_state); | 58 InstallState install_state); |
| 59 const Extension* PackAndInstallCRXWithLocation(const base::FilePath& dir_path, |
| 60 Manifest::Location location, |
| 61 InstallState install_state); |
59 | 62 |
60 const Extension* InstallCRX(const base::FilePath& path, | 63 const Extension* InstallCRX(const base::FilePath& path, |
61 InstallState install_state, | 64 InstallState install_state, |
62 int creation_flags, | 65 int creation_flags, |
63 const std::string& expected_old_name); | 66 const std::string& expected_old_name); |
64 const Extension* InstallCRX(const base::FilePath& path, | 67 const Extension* InstallCRX(const base::FilePath& path, |
65 InstallState install_state, | 68 InstallState install_state, |
66 int creation_flags); | 69 int creation_flags); |
67 const Extension* InstallCRX(const base::FilePath& path, | 70 const Extension* InstallCRX(const base::FilePath& path, |
68 InstallState install_state); | 71 InstallState install_state); |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 144 |
142 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> | 145 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> |
143 registry_observer_; | 146 registry_observer_; |
144 | 147 |
145 DISALLOW_COPY_AND_ASSIGN(ExtensionServiceTestWithInstall); | 148 DISALLOW_COPY_AND_ASSIGN(ExtensionServiceTestWithInstall); |
146 }; | 149 }; |
147 | 150 |
148 } // namespace extensions | 151 } // namespace extensions |
149 | 152 |
150 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_WITH_INSTALL_H_ | 153 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_WITH_INSTALL_H_ |
OLD | NEW |