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

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

Issue 11087071: Making ShowExtensionInstallDialog a callback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments 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_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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 352
353 // Whether we should produce an error if the manifest declares requirements 353 // Whether we should produce an error if the manifest declares requirements
354 // that are not met. If false and there is an unmet requirement, the install 354 // that are not met. If false and there is an unmet requirement, the install
355 // will continue but the extension will be distabled. 355 // will continue but the extension will be distabled.
356 bool error_on_unsupported_requirements_; 356 bool error_on_unsupported_requirements_;
357 357
358 scoped_ptr<RequirementsChecker> requirements_checker_; 358 scoped_ptr<RequirementsChecker> requirements_checker_;
359 359
360 bool has_requirement_errors_; 360 bool has_requirement_errors_;
361 361
362 // Used to show the install dialog.
363 ExtensionInstallPrompt::ShowDialogCallback show_dialog_callback_;
364
362 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); 365 DISALLOW_COPY_AND_ASSIGN(CrxInstaller);
363 }; 366 };
364 367
365 } // namespace extensions 368 } // namespace extensions
366 369
367 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ 370 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698