OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BUNDLE_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 // ExtensionInstallUI::Delegate implementation: | 157 // ExtensionInstallUI::Delegate implementation: |
158 virtual void InstallUIProceed() OVERRIDE; | 158 virtual void InstallUIProceed() OVERRIDE; |
159 virtual void InstallUIAbort(bool user_initiated) OVERRIDE; | 159 virtual void InstallUIAbort(bool user_initiated) OVERRIDE; |
160 | 160 |
161 // WebstoreInstaller::Delegate implementation: | 161 // WebstoreInstaller::Delegate implementation: |
162 virtual void OnExtensionInstallSuccess(const std::string& id) OVERRIDE; | 162 virtual void OnExtensionInstallSuccess(const std::string& id) OVERRIDE; |
163 virtual void OnExtensionInstallFailure(const std::string& id, | 163 virtual void OnExtensionInstallFailure(const std::string& id, |
164 const std::string& error) OVERRIDE; | 164 const std::string& error) OVERRIDE; |
165 | 165 |
166 // BrowserList::observer implementation: | 166 // BrowserList::observer implementation: |
167 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; | 167 virtual void OnBrowserAdded(Browser* browser) OVERRIDE; |
168 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; | 168 virtual void OnBrowserRemoved(Browser* browser) OVERRIDE; |
169 virtual void OnBrowserSetLastActive(const Browser* browser) OVERRIDE; | 169 virtual void OnBrowserSetLastActive(Browser* browser) OVERRIDE; |
170 | 170 |
171 // Holds the Extensions used to generate the permission warnings. | 171 // Holds the Extensions used to generate the permission warnings. |
172 ExtensionList dummy_extensions_; | 172 ExtensionList dummy_extensions_; |
173 | 173 |
174 // Holds the parsed manifests, indexed by the extension ids. | 174 // Holds the parsed manifests, indexed by the extension ids. |
175 ManifestMap parsed_manifests_; | 175 ManifestMap parsed_manifests_; |
176 | 176 |
177 // True if the user has approved the bundle. | 177 // True if the user has approved the bundle. |
178 bool approved_; | 178 bool approved_; |
179 | 179 |
(...skipping 10 matching lines...) Expand all Loading... |
190 scoped_ptr<ExtensionInstallUI> install_ui_; | 190 scoped_ptr<ExtensionInstallUI> install_ui_; |
191 | 191 |
192 Delegate* delegate_; | 192 Delegate* delegate_; |
193 | 193 |
194 DISALLOW_COPY_AND_ASSIGN(BundleInstaller); | 194 DISALLOW_COPY_AND_ASSIGN(BundleInstaller); |
195 }; | 195 }; |
196 | 196 |
197 } // namespace extensions | 197 } // namespace extensions |
198 | 198 |
199 #endif // CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ | 199 #endif // CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ |
OLD | NEW |