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

Side by Side Diff: chrome/browser/sync/test/integration/two_client_dictionary_sync_test.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "base/macros.h"
5 #include "base/strings/string_number_conversions.h" 6 #include "base/strings/string_number_conversions.h"
6 #include "chrome/browser/sync/test/integration/dictionary_helper.h" 7 #include "chrome/browser/sync/test/integration/dictionary_helper.h"
7 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" 8 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h"
8 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h" 9 #include "chrome/browser/sync/test/integration/sync_integration_test_util.h"
9 #include "chrome/browser/sync/test/integration/sync_test.h" 10 #include "chrome/browser/sync/test/integration/sync_test.h"
10 #include "chrome/common/spellcheck_common.h" 11 #include "chrome/common/spellcheck_common.h"
11 12
12 using sync_integration_test_util::AwaitCommitActivityCompletion; 13 using sync_integration_test_util::AwaitCommitActivityCompletion;
13 14
14 class TwoClientDictionarySyncTest : public SyncTest { 15 class TwoClientDictionarySyncTest : public SyncTest {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 ASSERT_TRUE(dictionary_helper::AwaitDictionariesMatch()); 90 ASSERT_TRUE(dictionary_helper::AwaitDictionariesMatch());
90 // Remove on client A, check it disappears on B. 91 // Remove on client A, check it disappears on B.
91 ASSERT_TRUE(dictionary_helper::RemoveWord(0, word)); 92 ASSERT_TRUE(dictionary_helper::RemoveWord(0, word));
92 ASSERT_TRUE(dictionary_helper::AwaitDictionariesMatch()); 93 ASSERT_TRUE(dictionary_helper::AwaitDictionariesMatch());
93 // Add on client B, check it appears on A. 94 // Add on client B, check it appears on A.
94 ASSERT_TRUE(dictionary_helper::AddWord(1, word)); 95 ASSERT_TRUE(dictionary_helper::AddWord(1, word));
95 ASSERT_TRUE(dictionary_helper::AwaitDictionariesMatch()); 96 ASSERT_TRUE(dictionary_helper::AwaitDictionariesMatch());
96 ASSERT_EQ(1UL, dictionary_helper::GetDictionarySize(0)); 97 ASSERT_EQ(1UL, dictionary_helper::GetDictionarySize(0));
97 } 98 }
98 99
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698