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

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

Issue 13971005: Basic multi-module support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix copyright for presubmit Created 7 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
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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 CrxInstallerError AllowInstall(const Extension* extension); 215 CrxInstallerError AllowInstall(const Extension* extension);
216 216
217 // SandboxedUnpackerClient 217 // SandboxedUnpackerClient
218 virtual void OnUnpackFailure(const string16& error_message) OVERRIDE; 218 virtual void OnUnpackFailure(const string16& error_message) OVERRIDE;
219 virtual void OnUnpackSuccess(const base::FilePath& temp_dir, 219 virtual void OnUnpackSuccess(const base::FilePath& temp_dir,
220 const base::FilePath& extension_dir, 220 const base::FilePath& extension_dir,
221 const base::DictionaryValue* original_manifest, 221 const base::DictionaryValue* original_manifest,
222 const Extension* extension) OVERRIDE; 222 const Extension* extension) OVERRIDE;
223 223
224 // Called on the UI thread to start the requirements check on the extension. 224 // Called on the UI thread to start the requirements check on the extension.
225 void CheckRequirements(); 225 void CheckImportsAndRequirements();
226 226
227 // Runs on the UI thread. Callback from RequirementsChecker. 227 // Runs on the UI thread. Callback from RequirementsChecker.
228 void OnRequirementsChecked(std::vector<std::string> requirement_errors); 228 void OnRequirementsChecked(std::vector<std::string> requirement_errors);
229 229
230 #if defined(ENABLE_MANAGED_USERS) 230 #if defined(ENABLE_MANAGED_USERS)
231 // Runs on the UI thread. Callback from the managed user passphrase dialog. 231 // Runs on the UI thread. Callback from the managed user passphrase dialog.
232 void OnAuthorizationResult(bool success); 232 void OnAuthorizationResult(bool success);
233 #endif 233 #endif
234 234
235 // Runs on the UI thread. Confirms with the user (via ExtensionInstallPrompt) 235 // Runs on the UI thread. Confirms with the user (via ExtensionInstallPrompt)
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // Whether the update is initiated by the user from the extension settings 403 // Whether the update is initiated by the user from the extension settings
404 // page. 404 // page.
405 bool update_from_settings_page_; 405 bool update_from_settings_page_;
406 406
407 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); 407 DISALLOW_COPY_AND_ASSIGN(CrxInstaller);
408 }; 408 };
409 409
410 } // namespace extensions 410 } // namespace extensions
411 411
412 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 412 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/chrome_manifest_parser.cc ('k') | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698