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

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

Issue 214047: Allow an entire InProcessBrowserTest subclass to configure the host resolver ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/test/live_sync/live_bookmarks_sync_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc
===================================================================
--- chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc (revision 26713)
+++ chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc (working copy)
@@ -954,21 +954,21 @@
int random_int = base::RandInt(1, 100);
// To create randomness in order, 40% of time add bookmarks
if (random_int > 60) {
- string16 title(L"BB - TestBookmark");
- string16 url(L"http://www.nofaviconurl");
- string16 index_str = IntToString16(index);
- title.append(index_str);
- url.append(index_str);
- url.append(L".com");
- const BookmarkNode* nofavicon_bm = verifier->AddURL(model_one, bbn_one,
- index, title, GURL(url));
+ string16 title(L"BB - TestBookmark");
+ string16 url(L"http://www.nofaviconurl");
+ string16 index_str = IntToString16(index);
+ title.append(index_str);
+ url.append(index_str);
+ url.append(L".com");
+ const BookmarkNode* nofavicon_bm = verifier->AddURL(model_one, bbn_one,
+ index, title, GURL(url));
} else {
- // Remaining % of time - Add Bookmark folders
- string16 title(L"BB - TestBMFolder");
- string16 index_str = IntToString16(index);
- title.append(index_str);
- const BookmarkNode* bm_folder = verifier->AddGroup(model_one, bbn_one,
- index, title);
+ // Remaining % of time - Add Bookmark folders
+ string16 title(L"BB - TestBMFolder");
+ string16 index_str = IntToString16(index);
+ title.append(index_str);
+ const BookmarkNode* bm_folder = verifier->AddGroup(model_one, bbn_one,
+ index, title);
}
}
ASSERT_TRUE(client1()->AwaitMutualSyncCycleCompletion(client2()));
« no previous file with comments | « chrome/test/live_sync/live_bookmarks_sync_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698