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

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

Issue 273193006: Install Chrome OS apps to shared location (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added uninstall Created 6 years, 7 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_CRX_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 // Runs on the UI thread. Callback from Blacklist. 224 // Runs on the UI thread. Callback from Blacklist.
225 void OnBlacklistChecked( 225 void OnBlacklistChecked(
226 extensions::BlacklistState blacklist_state); 226 extensions::BlacklistState blacklist_state);
227 227
228 // Runs on the UI thread. Confirms the installation to the ExtensionService. 228 // Runs on the UI thread. Confirms the installation to the ExtensionService.
229 void ConfirmInstall(); 229 void ConfirmInstall();
230 230
231 // Runs on File thread. Install the unpacked extension into the profile and 231 // Runs on File thread. Install the unpacked extension into the profile and
232 // notify the frontend. 232 // notify the frontend.
233 void CompleteInstall(); 233 void CompleteInstall();
234 void FinishCompleteInstall(const base::FilePath& version_dir);
asargent_no_longer_on_chrome 2014/05/16 17:56:19 nit: with a "Finish" post-condition to run, "Compl
Dmitry Polukhin 2014/05/16 22:45:50 Done.
234 235
235 // Result reporting. 236 // Result reporting.
236 void ReportFailureFromFileThread(const CrxInstallerError& error); 237 void ReportFailureFromFileThread(const CrxInstallerError& error);
237 void ReportFailureFromUIThread(const CrxInstallerError& error); 238 void ReportFailureFromUIThread(const CrxInstallerError& error);
238 void ReportSuccessFromFileThread(); 239 void ReportSuccessFromFileThread();
239 void ReportSuccessFromUIThread(); 240 void ReportSuccessFromUIThread();
240 void NotifyCrxInstallBegin(); 241 void NotifyCrxInstallBegin();
241 void NotifyCrxInstallComplete(bool success); 242 void NotifyCrxInstallComplete(bool success);
242 243
243 // Deletes temporary directory and crx file if needed. 244 // Deletes temporary directory and crx file if needed.
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 394
394 // Gives access to common methods and data of an extension installer. 395 // Gives access to common methods and data of an extension installer.
395 ExtensionInstaller installer_; 396 ExtensionInstaller installer_;
396 397
397 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); 398 DISALLOW_COPY_AND_ASSIGN(CrxInstaller);
398 }; 399 };
399 400
400 } // namespace extensions 401 } // namespace extensions
401 402
402 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 403 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698