| 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> |
| 11 | 11 |
| 12 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
| 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/string16.h" | 14 #include "base/string16.h" |
| 14 #include "chrome/browser/extensions/extension_install_ui.h" | 15 #include "chrome/browser/extensions/extension_install_ui.h" |
| 15 #include "chrome/browser/extensions/webstore_installer.h" | 16 #include "chrome/browser/extensions/webstore_installer.h" |
| 16 #include "chrome/browser/extensions/webstore_install_helper.h" | 17 #include "chrome/browser/extensions/webstore_install_helper.h" |
| 17 #include "chrome/browser/ui/browser_list.h" | 18 #include "chrome/browser/ui/browser_list.h" |
| 18 #include "chrome/common/extensions/extension.h" | 19 #include "chrome/common/extensions/extension.h" |
| 19 | 20 |
| 20 namespace base { | 21 namespace base { |
| 21 class DictionaryValue; | 22 class DictionaryValue; |
| 22 } // namespace base | 23 } // namespace base |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 178 |
| 178 // Holds the bundle's Items, indexed by their ids. | 179 // Holds the bundle's Items, indexed by their ids. |
| 179 ItemMap items_; | 180 ItemMap items_; |
| 180 | 181 |
| 181 // The browser to show the confirmation bubble for. | 182 // The browser to show the confirmation bubble for. |
| 182 Browser* browser_; | 183 Browser* browser_; |
| 183 | 184 |
| 184 // The profile that the bundle should be installed in. | 185 // The profile that the bundle should be installed in. |
| 185 Profile* profile_; | 186 Profile* profile_; |
| 186 | 187 |
| 188 // The UI that shows the confirmation prompt. |
| 189 scoped_ptr<ExtensionInstallUI> install_ui_; |
| 190 |
| 187 Delegate* delegate_; | 191 Delegate* delegate_; |
| 188 | 192 |
| 189 DISALLOW_COPY_AND_ASSIGN(BundleInstaller); | 193 DISALLOW_COPY_AND_ASSIGN(BundleInstaller); |
| 190 }; | 194 }; |
| 191 | 195 |
| 192 } // namespace extensions | 196 } // namespace extensions |
| 193 | 197 |
| 194 #endif // CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ | 198 #endif // CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ |
| OLD | NEW |