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); | |
62 | 59 |
63 const Extension* InstallCRX(const base::FilePath& path, | 60 const Extension* InstallCRX(const base::FilePath& path, |
64 InstallState install_state, | 61 InstallState install_state, |
65 int creation_flags, | 62 int creation_flags, |
66 const std::string& expected_old_name); | 63 const std::string& expected_old_name); |
67 const Extension* InstallCRX(const base::FilePath& path, | 64 const Extension* InstallCRX(const base::FilePath& path, |
68 InstallState install_state, | 65 InstallState install_state, |
69 int creation_flags); | 66 int creation_flags); |
70 const Extension* InstallCRX(const base::FilePath& path, | 67 const Extension* InstallCRX(const base::FilePath& path, |
71 InstallState install_state); | 68 InstallState install_state); |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 141 |
145 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> | 142 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> |
146 registry_observer_; | 143 registry_observer_; |
147 | 144 |
148 DISALLOW_COPY_AND_ASSIGN(ExtensionServiceTestWithInstall); | 145 DISALLOW_COPY_AND_ASSIGN(ExtensionServiceTestWithInstall); |
149 }; | 146 }; |
150 | 147 |
151 } // namespace extensions | 148 } // namespace extensions |
152 | 149 |
153 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_WITH_INSTALL_H_ | 150 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_TEST_WITH_INSTALL_H_ |
OLD | NEW |