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

Unified Diff: chrome/browser/extensions/extension_install_prompt.cc

Issue 10649003: Move each permission classes to its own files in extensions/permissions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase on HEAD Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_install_prompt.cc
diff --git a/chrome/browser/extensions/extension_install_prompt.cc b/chrome/browser/extensions/extension_install_prompt.cc
index 807b098fb273cdf31aae54d7509cb7e5ae888449..2254cddcf4e5009d4a534e996687e42b2af6fe30 100644
--- a/chrome/browser/extensions/extension_install_prompt.cc
+++ b/chrome/browser/extensions/extension_install_prompt.cc
@@ -40,6 +40,7 @@
using extensions::BundleInstaller;
using extensions::Extension;
+using extensions::PermissionSet;
static const int kTitleIds[ExtensionInstallPrompt::NUM_PROMPT_TYPES] = {
0, // The regular install prompt depends on what's being installed.
@@ -254,7 +255,7 @@ ExtensionInstallPrompt::~ExtensionInstallPrompt() {
void ExtensionInstallPrompt::ConfirmBundleInstall(
extensions::BundleInstaller* bundle,
- const ExtensionPermissionSet* permissions) {
+ const PermissionSet* permissions) {
DCHECK(ui_loop_ == MessageLoop::current());
bundle_ = bundle;
permissions_ = permissions;
@@ -330,7 +331,7 @@ void ExtensionInstallPrompt::ConfirmReEnable(Delegate* delegate,
void ExtensionInstallPrompt::ConfirmPermissions(
Delegate* delegate,
const Extension* extension,
- const ExtensionPermissionSet* permissions) {
+ const PermissionSet* permissions) {
DCHECK(ui_loop_ == MessageLoop::current());
extension_ = extension;
permissions_ = permissions;
« no previous file with comments | « chrome/browser/extensions/extension_install_prompt.h ('k') | chrome/browser/extensions/extension_management_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698