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

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

Issue 11361189: Initial skeleton for System Indicator API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase; Make system_indicator manifest entry grant systemIndicator permission. Created 8 years, 1 month 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 8efd7cf9f3911a8b3854ab057d2776682ad2ec10..6bc9153747139fdeaf7943a528a09a828aaf5188 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -910,7 +910,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
const base::DictionaryValue& handler_info,
string16* error);
bool LoadFileHandlers(string16* error);
- bool LoadExtensionFeatures(const APIPermissionSet& api_permissions,
+ bool LoadExtensionFeatures(APIPermissionSet& api_permissions,
not at google - send to devlin 2012/11/20 23:58:08 Non const pointers bad. If this isn't const anymor
dewittj 2012/11/21 22:09:41 I've been revealed as a C++ n00b. Fixed.
string16* error);
bool LoadDevToolsPage(string16* error);
bool LoadInputComponents(const APIPermissionSet& api_permissions,
@@ -919,6 +919,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
bool LoadPageAction(string16* error);
bool LoadBrowserAction(string16* error);
bool LoadScriptBadge(string16* error);
+ bool LoadSystemIndicator(APIPermissionSet& api_permissions, string16* error);
bool LoadFileBrowserHandlers(string16* error);
// Helper method to load a FileBrowserHandlerList from the manifest.
FileBrowserHandlerList* LoadFileBrowserHandlersHelper(

Powered by Google App Engine
This is Rietveld 408576698