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

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

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.cc
diff --git a/chrome/browser/sync/test/integration/apps_helper.cc b/chrome/browser/sync/test/integration/apps_helper.cc
index a73c17d53b9b00c8d82bc3d9931e8106e70f4919..faf0adde2e75095164eb95377c928f31c6554eb0 100644
--- a/chrome/browser/sync/test/integration/apps_helper.cc
+++ b/chrome/browser/sync/test/integration/apps_helper.cc
@@ -83,28 +83,29 @@ void InstallAppsPendingForSync(Profile* profile) {
profile, extensions::Extension::TYPE_HOSTED_APP);
}
-StringOrdinal GetPageOrdinalForApp(Profile* profile,
- int app_index) {
+syncer::StringOrdinal GetPageOrdinalForApp(Profile* profile,
+ int app_index) {
return SyncAppHelper::GetInstance()->GetPageOrdinalForApp(
profile, CreateFakeAppName(app_index));
}
void SetPageOrdinalForApp(Profile* profile,
int app_index,
- const StringOrdinal& page_ordinal) {
+ const syncer::StringOrdinal& page_ordinal) {
SyncAppHelper::GetInstance()->SetPageOrdinalForApp(
profile, CreateFakeAppName(app_index), page_ordinal);
}
-StringOrdinal GetAppLaunchOrdinalForApp(Profile* profile,
- int app_index) {
+syncer::StringOrdinal GetAppLaunchOrdinalForApp(Profile* profile,
+ int app_index) {
return SyncAppHelper::GetInstance()->GetAppLaunchOrdinalForApp(
profile, CreateFakeAppName(app_index));
}
-void SetAppLaunchOrdinalForApp(Profile* profile,
- int app_index,
- const StringOrdinal& app_launch_ordinal) {
+void SetAppLaunchOrdinalForApp(
+ Profile* profile,
+ int app_index,
+ const syncer::StringOrdinal& app_launch_ordinal) {
SyncAppHelper::GetInstance()->SetAppLaunchOrdinalForApp(
profile, CreateFakeAppName(app_index), app_launch_ordinal);
}
« no previous file with comments | « chrome/browser/sync/test/integration/apps_helper.h ('k') | chrome/browser/sync/test/integration/sync_app_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698