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. |