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

Unified Diff: chrome/common/extensions/extension.h

Issue 7253001: Added a private chromeAuthPrivate API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/common/extensions/extension.h
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index 8f443d1030a52072899c5c389ad24080fe5f25c2..7490030595eaf17a0010059b2085c00b05bd46e5 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -306,6 +306,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
static const char kContentSettingsPermission[];
static const char kContextMenusPermission[];
static const char kCookiePermission[];
+ static const char kChromeAuthPrivatePermission[];
static const char kChromePrivatePermission[];
static const char kChromeosInfoPrivatePermission[];
static const char kDebuggerPermission[];
@@ -795,6 +796,10 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// of the manifest, like plugins and content scripts are not included.
std::set<PermissionMessage> GetSimplePermissionMessages() const;
+ // Updates the launch URL and extents for the extension using the given
+ // |override_url|.
+ void OverrideLaunchUrl(const GURL& override_url);
+
// Cached images for this extension. This should only be touched on the UI
// thread.
mutable ImageCache image_cache_;

Powered by Google App Engine
This is Rietveld 408576698