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

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

Issue 7888047: Added Instant preference syncing and tests. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Add ability for applications to sync position on NTP Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index e12bd6f411c81b7b336e8f4c602859ae3a3289c3..b327f1b0c43e3b9952e85765c184ba393af49212 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -206,6 +206,15 @@ class ExtensionService
virtual void SetIsIncognitoEnabled(const std::string& extension_id,
bool enabled);
+ // The position of App in the NTP
+ virtual int32 GetAppLaunchIndex(const std::string& extension_id) const;
+ virtual void SetAppLaunchIndex(const std::string& extension_id,
+ int32 app_launch_index);
+ virtual int32 GetPageIndex(const std::string& extension_id) const;
+ virtual void SetPageIndex(const std::string& extension_id,
+ int32 page_index);
+ void SetAppLauncherOrder(const std::vector<std::string>& extension_ids);
+
// Returns true if the given extension can see events and data from another
// sub-profile (incognito to original profile, or vice versa).
bool CanCrossIncognito(const Extension* extension);
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698