Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: chrome/browser/extensions/bundle_installer.h

Issue 10980002: Mac Web Intents Part 1: Show extension download progress (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove downloads code Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 const std::string& id, 154 const std::string& id,
155 InstallHelperResultCode result_code, 155 InstallHelperResultCode result_code,
156 const std::string& error_message) OVERRIDE; 156 const std::string& error_message) OVERRIDE;
157 157
158 // ExtensionInstallPrompt::Delegate implementation: 158 // ExtensionInstallPrompt::Delegate implementation:
159 virtual void InstallUIProceed() OVERRIDE; 159 virtual void InstallUIProceed() OVERRIDE;
160 virtual void InstallUIAbort(bool user_initiated) OVERRIDE; 160 virtual void InstallUIAbort(bool user_initiated) OVERRIDE;
161 161
162 // WebstoreInstaller::Delegate implementation: 162 // WebstoreInstaller::Delegate implementation:
163 virtual void OnExtensionInstallSuccess(const std::string& id) OVERRIDE; 163 virtual void OnExtensionInstallSuccess(const std::string& id) OVERRIDE;
164 virtual void OnExtensionInstallFailure(const std::string& id, 164 virtual void OnExtensionInstallFailure(
165 const std::string& error) OVERRIDE; 165 const std::string& id,
166 const std::string& error,
167 WebstoreInstaller::FailureReason reason) OVERRIDE;
166 168
167 // chrome::BrowserListObserver implementation: 169 // chrome::BrowserListObserver implementation:
168 virtual void OnBrowserAdded(Browser* browser) OVERRIDE; 170 virtual void OnBrowserAdded(Browser* browser) OVERRIDE;
169 virtual void OnBrowserRemoved(Browser* browser) OVERRIDE; 171 virtual void OnBrowserRemoved(Browser* browser) OVERRIDE;
170 virtual void OnBrowserSetLastActive(Browser* browser) OVERRIDE; 172 virtual void OnBrowserSetLastActive(Browser* browser) OVERRIDE;
171 173
172 // Holds the Extensions used to generate the permission warnings. 174 // Holds the Extensions used to generate the permission warnings.
173 ExtensionList dummy_extensions_; 175 ExtensionList dummy_extensions_;
174 176
175 // Holds the parsed manifests, indexed by the extension ids. 177 // Holds the parsed manifests, indexed by the extension ids.
(...skipping 15 matching lines...) Expand all
191 scoped_ptr<ExtensionInstallPrompt> install_ui_; 193 scoped_ptr<ExtensionInstallPrompt> install_ui_;
192 194
193 Delegate* delegate_; 195 Delegate* delegate_;
194 196
195 DISALLOW_COPY_AND_ASSIGN(BundleInstaller); 197 DISALLOW_COPY_AND_ASSIGN(BundleInstaller);
196 }; 198 };
197 199
198 } // namespace extensions 200 } // namespace extensions
199 201
200 #endif // CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_ 202 #endif // CHROME_BROWSER_EXTENSIONS_BUNDLE_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698