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

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

Issue 10675007: Move each permission classes to its own files in extensions/permissions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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.h
diff --git a/chrome/browser/extensions/extension_install_prompt.h b/chrome/browser/extensions/extension_install_prompt.h
index ce1f546937ba7bbb90173077cd5c8fd29c104e99..ba46c5f2b0f6ec3029358711e4cbd7e6f04b8aa8 100644
--- a/chrome/browser/extensions/extension_install_prompt.h
+++ b/chrome/browser/extensions/extension_install_prompt.h
@@ -22,7 +22,6 @@
class Browser;
class ExtensionInstallUI;
-class ExtensionPermissionSet;
class MessageLoop;
class InfoBarDelegate;
@@ -34,6 +33,7 @@ namespace extensions {
class BundleInstaller;
class Extension;
class ExtensionWebstorePrivateApiTest;
+class PermissionSet;
} // namespace extensions
// Displays all the UI around extension installation.
@@ -159,8 +159,9 @@ class ExtensionInstallPrompt : public ImageLoadingTracker::Observer {
// should be installed.
//
// We *MUST* eventually call either Proceed() or Abort() on |delegate|.
- virtual void ConfirmBundleInstall(extensions::BundleInstaller* bundle,
- const ExtensionPermissionSet* permissions);
+ virtual void ConfirmBundleInstall(
+ extensions::BundleInstaller* bundle,
+ const extensions::PermissionSet* permissions);
// This is called by the inline installer to verify whether the inline
// install from the webstore should proceed.
@@ -199,7 +200,7 @@ class ExtensionInstallPrompt : public ImageLoadingTracker::Observer {
// We *MUST* eventually call either Proceed() or Abort() on |delegate|.
virtual void ConfirmPermissions(Delegate* delegate,
const extensions::Extension* extension,
- const ExtensionPermissionSet* permissions);
+ const extensions::PermissionSet* permissions);
// Installation was successful. This is declared virtual for testing.
virtual void OnInstallSuccess(const extensions::Extension* extension,
@@ -245,7 +246,7 @@ class ExtensionInstallPrompt : public ImageLoadingTracker::Observer {
const extensions::BundleInstaller* bundle_;
// The permissions being prompted for.
- scoped_refptr<const ExtensionPermissionSet> permissions_;
+ scoped_refptr<const extensions::PermissionSet> permissions_;
// The object responsible for doing the UI specific actions.
scoped_ptr<ExtensionInstallUI> install_ui_;

Powered by Google App Engine
This is Rietveld 408576698