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

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

Issue 487021: Persist the order of extensions in the browser action toolbar across sessions... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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_toolbar_model.h
===================================================================
--- chrome/browser/extensions/extension_toolbar_model.h (revision 34323)
+++ chrome/browser/extensions/extension_toolbar_model.h (working copy)
@@ -52,6 +52,14 @@
const NotificationSource& source,
const NotificationDetails& details);
+ // To be called after the extension service is ready; gets loaded extensions
+ // from the extension service and their saved order from the pref service
+ // and constructs |toolitems_| from these data.
+ void InitializeExtensionList();
+
+ // Save the model to prefs.
+ void UpdatePrefs();
+
// Our observers.
ObserverList<Observer> observers_;

Powered by Google App Engine
This is Rietveld 408576698