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

Unified Diff: chrome/browser/sync/test/integration/apps_helper.h

Issue 10920017: [Sync] Generalize StringOrdinal to handle ordinal_in_parent field (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Relax tests Created 8 years, 3 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/sync/test/integration/apps_helper.h
diff --git a/chrome/browser/sync/test/integration/apps_helper.h b/chrome/browser/sync/test/integration/apps_helper.h
index c98f24bdb2907d4bd7f542419d741065f8f4378d..bd6a9688ddf4f38bf2a5f40792e45f756fde664c 100644
--- a/chrome/browser/sync/test/integration/apps_helper.h
+++ b/chrome/browser/sync/test/integration/apps_helper.h
@@ -8,7 +8,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
-#include "chrome/common/string_ordinal.h"
+#include "sync/api/string_ordinal.h"
class Profile;
@@ -50,21 +50,24 @@ void IncognitoDisableApp(Profile* profile, int index);
// Gets the page ordinal value for the application at the given index on
// |profile|.
-StringOrdinal GetPageOrdinalForApp(Profile* profile, int app_index);
+syncer::StringOrdinal GetPageOrdinalForApp(Profile* profile, int app_index);
// Sets a new |page_ordinal| value for the application at the given index
// on |profile|.
void SetPageOrdinalForApp(
- Profile* profile, int app_index, const StringOrdinal& page_ordinal);
+ Profile* profile, int app_index,
+ const syncer::StringOrdinal& page_ordinal);
// Gets the app launch ordinal value for the application at the given index on
// |profile|.
-StringOrdinal GetAppLaunchOrdinalForApp(Profile* profile, int app_index);
+syncer::StringOrdinal GetAppLaunchOrdinalForApp(
+ Profile* profile, int app_index);
// Sets a new |page_ordinal| value for the application at the given index
// on |profile|.
void SetAppLaunchOrdinalForApp(
- Profile* profile, int app_index, const StringOrdinal& app_launch_ordinal);
+ Profile* profile, int app_index,
+ const syncer::StringOrdinal& app_launch_ordinal);
// Copy the page and app launch ordinal value for the application at the given
// index on |profile_source| to |profile_destination|.

Powered by Google App Engine
This is Rietveld 408576698