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

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

Issue 9340007: Make the Chrome Web Store Icon Syncable (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixing chromeos compile problem Created 8 years, 10 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_sorting.h
diff --git a/chrome/browser/extensions/extension_sorting.h b/chrome/browser/extensions/extension_sorting.h
index 09821eb29fecc0646cdc64f452062497960662d5..3542d51d2777a4c7d1d19d06679325426cfd843a 100644
--- a/chrome/browser/extensions/extension_sorting.h
+++ b/chrome/browser/extensions/extension_sorting.h
@@ -30,6 +30,10 @@ class ExtensionSorting {
// this is called it is guaranteed that there are no collisions of NTP icons.
void FixNTPOrdinalCollisions();
+ // This ensures that the extension has valid ordinals, and if it doesn't then
+ // properly initialize them.
+ void EnsureValidOrdinals(const std::string& extension_id);
+
// Updates the app launcher value for the moved extension so that it is now
// located after the given predecessor and before the successor.
// Empty strings are used to indicate no successor or predecessor.

Powered by Google App Engine
This is Rietveld 408576698