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

Unified Diff: chrome/browser/sync/test/integration/performance/dictionary_sync_perf_test.cc

Issue 2177343002: Componentize spellcheck [2]: move common/ files to component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move message generator to component Created 4 years, 5 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/performance/dictionary_sync_perf_test.cc
diff --git a/chrome/browser/sync/test/integration/performance/dictionary_sync_perf_test.cc b/chrome/browser/sync/test/integration/performance/dictionary_sync_perf_test.cc
index 2d18a8b258eabc5f4d825608d791d581f0be1c0c..848767c9fc1585338d0ce8c6f72311c09f0362ea 100644
--- a/chrome/browser/sync/test/integration/performance/dictionary_sync_perf_test.cc
+++ b/chrome/browser/sync/test/integration/performance/dictionary_sync_perf_test.cc
@@ -10,7 +10,7 @@
#include "chrome/browser/sync/test/integration/performance/sync_timing_helper.h"
#include "chrome/browser/sync/test/integration/profile_sync_service_harness.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
-#include "chrome/common/spellcheck_common.h"
+#include "components/spellcheck/common/spellcheck_common.h"
class DictionarySyncPerfTest : public SyncTest {
public:
@@ -27,20 +27,16 @@ IN_PROC_BROWSER_TEST_F(DictionarySyncPerfTest, P0) {
ASSERT_TRUE(dictionary_helper::DictionariesMatch());
base::TimeDelta dt;
- for (size_t i = 0;
- i < chrome::spellcheck_common::MAX_SYNCABLE_DICTIONARY_WORDS;
- ++i) {
+ for (size_t i = 0; i < spellcheck::MAX_SYNCABLE_DICTIONARY_WORDS; ++i) {
ASSERT_TRUE(dictionary_helper::AddWord(
0, "foo" + base::Uint64ToString(i)));
}
dt = SyncTimingHelper::TimeMutualSyncCycle(GetClient(0), GetClient(1));
- ASSERT_EQ(chrome::spellcheck_common::MAX_SYNCABLE_DICTIONARY_WORDS,
+ ASSERT_EQ(spellcheck::MAX_SYNCABLE_DICTIONARY_WORDS,
dictionary_helper::GetDictionarySize(1));
SyncTimingHelper::PrintResult("dictionary", "add_words", dt);
- for (size_t i = 0;
- i < chrome::spellcheck_common::MAX_SYNCABLE_DICTIONARY_WORDS;
- ++i) {
+ for (size_t i = 0; i < spellcheck::MAX_SYNCABLE_DICTIONARY_WORDS; ++i) {
ASSERT_TRUE(dictionary_helper::RemoveWord(
0, "foo" + base::Uint64ToString(i)));
}

Powered by Google App Engine
This is Rietveld 408576698