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 <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, | 52 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, |
53 const base::FilePath& pem_path, | 53 const base::FilePath& pem_path, |
54 InstallState install_state, | 54 InstallState install_state, |
55 int creation_flags); | 55 int creation_flags); |
56 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, | 56 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, |
57 const base::FilePath& pem_path, | 57 const base::FilePath& pem_path, |
58 InstallState install_state); | 58 InstallState install_state); |
59 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, | 59 const Extension* PackAndInstallCRX(const base::FilePath& dir_path, |
60 InstallState install_state); | 60 InstallState install_state); |
| 61 const Extension* PackAndInstallCRXWithLocation(const base::FilePath& dir_path, |
| 62 Manifest::Location location, |
| 63 InstallState install_state); |
61 | 64 |
62 const Extension* InstallCRX(const base::FilePath& path, | 65 const Extension* InstallCRX(const base::FilePath& path, |
63 InstallState install_state, | 66 InstallState install_state, |
64 int creation_flags, | 67 int creation_flags, |
65 const std::string& expected_old_name); | 68 const std::string& expected_old_name); |
66 const Extension* InstallCRX(const base::FilePath& path, | 69 const Extension* InstallCRX(const base::FilePath& path, |
67 InstallState install_state, | 70 InstallState install_state, |
68 int creation_flags); | 71 int creation_flags); |
69 const Extension* InstallCRX(const base::FilePath& path, | 72 const Extension* InstallCRX(const base::FilePath& path, |
70 InstallState install_state); | 73 InstallState install_state); |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 146 |
144 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> | 147 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> |
145 registry_observer_; | 148 registry_observer_; |
146 | 149 |
147 DISALLOW_COPY_AND_ASSIGN(ExtensionServiceTestWithInstall); | 150 DISALLOW_COPY_AND_ASSIGN(ExtensionServiceTestWithInstall); |
148 }; | 151 }; |
149 | 152 |
150 } // namespace extensions | 153 } // namespace extensions |
151 | 154 |
152 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_WITH_INSTALL_H_ | 155 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_WITH_INSTALL_H_ |
OLD | NEW |