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

Unified Diff: chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc

Issue 1803001: Fix second-profile dir so that it's a sibling of the first; eliminate a FromWStringHack. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Formatting fixes. Created 10 years, 8 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/test/live_sync/two_client_live_bookmarks_sync_test.cc
diff --git a/chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc b/chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc
index bfae3c7770dadd0a7e1daf7cdbd39ff201812ac2..03691b019b82ac1425ad57638c3f261fedf1fc32 100644
--- a/chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc
+++ b/chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc
@@ -36,7 +36,7 @@ class TwoClientLiveBookmarksSyncTest : public LiveSyncTest {
}
virtual ~TwoClientLiveBookmarksSyncTest() {}
bool SetupSync() {
- profile2_.reset(MakeProfile(L"client2"));
+ profile2_.reset(MakeProfile(FILE_PATH_LITERAL("client2")));
client1_.reset(new ProfileSyncServiceTestHarness(
browser()->profile(), username_, password_));
client2_.reset(new ProfileSyncServiceTestHarness(
@@ -2361,7 +2361,7 @@ IN_PROC_BROWSER_TEST_F(LiveSyncTestBasicHierarchy50BMBothClients,
// Test Scribe ID - 373508.
IN_PROC_BROWSER_TEST_F(TwoClientLiveBookmarksSyncTest,
MC_SimpleMergeOfDifferentBMModels) {
- set_profile2(MakeProfile(L"client2"));
+ set_profile2(MakeProfile(FILE_PATH_LITERAL("client2")));
BookmarkModel* model_one = browser()->profile()->GetBookmarkModel();
BookmarkModel* model_two = profile2()->GetBookmarkModel();
LiveSyncTest::BlockUntilLoaded(model_two);
@@ -2430,7 +2430,7 @@ IN_PROC_BROWSER_TEST_F(TwoClientLiveBookmarksSyncTest,
// Test Scribe ID - 386586.
IN_PROC_BROWSER_TEST_F(TwoClientLiveBookmarksSyncTest,
MC_MergeSimpleBMHierarchyUnderBMBar) {
- set_profile2(MakeProfile(L"client2"));
+ set_profile2(MakeProfile(FILE_PATH_LITERAL("client2")));
BookmarkModel* model_one = browser()->profile()->GetBookmarkModel();
BookmarkModel* model_two = profile2()->GetBookmarkModel();
LiveSyncTest::BlockUntilLoaded(model_two);
@@ -2487,7 +2487,7 @@ IN_PROC_BROWSER_TEST_F(TwoClientLiveBookmarksSyncTest,
// Test Scribe ID - 386589.
IN_PROC_BROWSER_TEST_F(TwoClientLiveBookmarksSyncTest,
MC_MergeSimpleBMHierarchyEqualSetsUnderBMBar) {
- set_profile2(MakeProfile(L"client2"));
+ set_profile2(MakeProfile(FILE_PATH_LITERAL("client2")));
BookmarkModel* model_one = browser()->profile()->GetBookmarkModel();
BookmarkModel* model_two = profile2()->GetBookmarkModel();
LiveSyncTest::BlockUntilLoaded(model_two);

Powered by Google App Engine
This is Rietveld 408576698