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

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 multi-profile support 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 void OnBlacklistChecked( 228 void OnBlacklistChecked(
229 extensions::BlacklistState blacklist_state); 229 extensions::BlacklistState blacklist_state);
230 230
231 // Runs on the UI thread. Confirms the installation to the ExtensionService. 231 // Runs on the UI thread. Confirms the installation to the ExtensionService.
232 void ConfirmInstall(); 232 void ConfirmInstall();
233 233
234 // Runs on File thread. Install the unpacked extension into the profile and 234 // Runs on File thread. Install the unpacked extension into the profile and
235 // notify the frontend. 235 // notify the frontend.
236 void CompleteInstall(); 236 void CompleteInstall();
237 237
238 // Reloads extension on File thread and reports installation result back
239 // to UI thread.
240 void ReloadExtensionAfterInstall(const base::FilePath& version_dir);
241
238 // Result reporting. 242 // Result reporting.
239 void ReportFailureFromFileThread(const CrxInstallerError& error); 243 void ReportFailureFromFileThread(const CrxInstallerError& error);
240 void ReportFailureFromUIThread(const CrxInstallerError& error); 244 void ReportFailureFromUIThread(const CrxInstallerError& error);
241 void ReportSuccessFromFileThread(); 245 void ReportSuccessFromFileThread();
242 void ReportSuccessFromUIThread(); 246 void ReportSuccessFromUIThread();
243 void NotifyCrxInstallBegin(); 247 void NotifyCrxInstallBegin();
244 void NotifyCrxInstallComplete(bool success); 248 void NotifyCrxInstallComplete(bool success);
245 249
246 // Deletes temporary directory and crx file if needed. 250 // Deletes temporary directory and crx file if needed.
247 void CleanupTempFiles(); 251 void CleanupTempFiles();
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 404
401 // Gives access to common methods and data of an extension installer. 405 // Gives access to common methods and data of an extension installer.
402 ExtensionInstaller installer_; 406 ExtensionInstaller installer_;
403 407
404 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); 408 DISALLOW_COPY_AND_ASSIGN(CrxInstaller);
405 }; 409 };
406 410
407 } // namespace extensions 411 } // namespace extensions
408 412
409 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 413 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/crx_installer.cc » ('j') | chrome/browser/extensions/extension_assets_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698