diff options
author | csharp@chromium.org <csharp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-26 21:44:34 +0000 |
---|---|---|
committer | csharp@chromium.org <csharp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-26 21:44:34 +0000 |
commit | 0ffd9e58b07ef4b22815ce07f572ddace0d665c0 (patch) | |
tree | 44304018da4a89d04138069f84064d0f0a16f739 /chrome/browser/extensions/extension_sorting.h | |
parent | 8507ce804c26e1515ab7b46afa4c3e6fe807e364 (diff) | |
download | chromium_src-0ffd9e58b07ef4b22815ce07f572ddace0d665c0.zip chromium_src-0ffd9e58b07ef4b22815ce07f572ddace0d665c0.tar.gz chromium_src-0ffd9e58b07ef4b22815ce07f572ddace0d665c0.tar.bz2 |
Enable NTP Application Position and Page Name Syncing
This enables the icon on the NTP to have their positions synced so that users will always have there icons appear in the same place. The NTP page names are also synced, since the required number of pages will correctly appear for each instance though the app syncing.
BUG=61447, 100737, 111277
TEST=sync_integration_tests:TwoClientAppsSyncTest.*
Users should be able to move icons on their NTP or change the page names and have the results propagate to there other signed in instances.
If a user deletes an app from one client while another client NTP is open, the second client's NTP should update to look the same as the first's.
Review URL: http://codereview.chromium.org/9254039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_sorting.h')
-rw-r--r-- | chrome/browser/extensions/extension_sorting.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_sorting.h b/chrome/browser/extensions/extension_sorting.h index 255ce85..09821eb 100644 --- a/chrome/browser/extensions/extension_sorting.h +++ b/chrome/browser/extensions/extension_sorting.h @@ -76,8 +76,8 @@ class ExtensionSorting { void SetPageOrdinal(const std::string& extension_id, const StringOrdinal& new_page_ordinal); - // Removes the page ordinal for an app. - void ClearPageOrdinal(const std::string& extension_id); + // Removes the ordinal values for an app. + void ClearOrdinals(const std::string& extension_id); // Convert the page StringOrdinal value to its integer equivalent. This takes // O(# of apps) worst-case. |