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

Side by Side Diff: chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc

Issue 337034: Remove the browser_sync flag. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if defined(BROWSER_SYNC)
6
7 #include <stdlib.h> 5 #include <stdlib.h>
8 6
9 #include "base/string16.h" 7 #include "base/string16.h"
10 #include "base/rand_util.h" 8 #include "base/rand_util.h"
11 #include "chrome/browser/bookmarks/bookmark_model.h" 9 #include "chrome/browser/bookmarks/bookmark_model.h"
12 #include "chrome/browser/bookmarks/bookmark_utils.h" 10 #include "chrome/browser/bookmarks/bookmark_utils.h"
13 #include "chrome/browser/browser.h" 11 #include "chrome/browser/browser.h"
14 #include "chrome/browser/profile.h" 12 #include "chrome/browser/profile.h"
15 #include "chrome/browser/sync/profile_sync_service.h" 13 #include "chrome/browser/sync/profile_sync_service.h"
16 #include "chrome/test/live_sync/bookmark_model_verifier.h" 14 #include "chrome/test/live_sync/bookmark_model_verifier.h"
(...skipping 2459 matching lines...) Expand 10 before | Expand all | Expand 10 after
2476 // Wait for changes to propagate. 2474 // Wait for changes to propagate.
2477 ASSERT_TRUE(client2()->AwaitMutualSyncCycleCompletion(client1())); 2475 ASSERT_TRUE(client2()->AwaitMutualSyncCycleCompletion(client1()));
2478 // Let's make sure there aren't any duplicates after sync. 2476 // Let's make sure there aren't any duplicates after sync.
2479 BookmarkModelVerifier::VerifyNoDuplicates(model_one); 2477 BookmarkModelVerifier::VerifyNoDuplicates(model_one);
2480 // Let's compare and make sure both bookmark models are same after sync. 2478 // Let's compare and make sure both bookmark models are same after sync.
2481 BookmarkModelVerifier::ExpectModelsMatchIncludingFavicon( 2479 BookmarkModelVerifier::ExpectModelsMatchIncludingFavicon(
2482 model_one, model_two, false); 2480 model_one, model_two, false);
2483 2481
2484 Cleanup(); 2482 Cleanup();
2485 } 2483 }
2486
2487
2488 #endif // defined(BROWSER_SYNC)
OLDNEW
« no previous file with comments | « chrome/test/live_sync/single_client_live_bookmarks_sync_unittest.cc ('k') | chrome/test/sync/test_http_bridge_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698