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

Unified Diff: sync/internal_api/js_mutation_event_observer_unittest.cc

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 6 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 | « sync/internal_api/js_mutation_event_observer.cc ('k') | sync/internal_api/js_sync_manager_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/js_mutation_event_observer_unittest.cc
diff --git a/sync/internal_api/js_mutation_event_observer_unittest.cc b/sync/internal_api/js_mutation_event_observer_unittest.cc
index 6bb07c3374fc93d78b51aa90cddab81a0c4107a5..2373349dbb3a5cedc4290ff2f0f9ef1ee1132993 100644
--- a/sync/internal_api/js_mutation_event_observer_unittest.cc
+++ b/sync/internal_api/js_mutation_event_observer_unittest.cc
@@ -13,7 +13,7 @@
#include "sync/js/js_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace csync {
+namespace syncer {
namespace {
using ::testing::InSequence;
@@ -46,22 +46,22 @@ TEST_F(JsMutationEventObserverTest, OnChangesApplied) {
// We don't test with passwords as that requires additional setup.
// Build a list of example ChangeRecords.
- csync::ChangeRecord changes[syncable::MODEL_TYPE_COUNT];
+ syncer::ChangeRecord changes[syncable::MODEL_TYPE_COUNT];
for (int i = syncable::AUTOFILL_PROFILE;
i < syncable::MODEL_TYPE_COUNT; ++i) {
changes[i].id = i;
switch (i % 3) {
case 0:
changes[i].action =
- csync::ChangeRecord::ACTION_ADD;
+ syncer::ChangeRecord::ACTION_ADD;
break;
case 1:
changes[i].action =
- csync::ChangeRecord::ACTION_UPDATE;
+ syncer::ChangeRecord::ACTION_UPDATE;
break;
default:
changes[i].action =
- csync::ChangeRecord::ACTION_DELETE;
+ syncer::ChangeRecord::ACTION_DELETE;
break;
}
}
@@ -91,11 +91,11 @@ TEST_F(JsMutationEventObserverTest, OnChangesApplied) {
// Fire OnChangesApplied() for each data type.
for (int i = syncable::AUTOFILL_PROFILE;
i < syncable::MODEL_TYPE_COUNT; ++i) {
- csync::ChangeRecordList
+ syncer::ChangeRecordList
local_changes(changes + i, changes + arraysize(changes));
js_mutation_event_observer_.OnChangesApplied(
syncable::ModelTypeFromInt(i),
- 0, csync::ImmutableChangeRecordList(&local_changes));
+ 0, syncer::ImmutableChangeRecordList(&local_changes));
}
PumpLoop();
@@ -124,4 +124,4 @@ TEST_F(JsMutationEventObserverTest, OnChangesComplete) {
}
} // namespace
-} // namespace csync
+} // namespace syncer
« no previous file with comments | « sync/internal_api/js_mutation_event_observer.cc ('k') | sync/internal_api/js_sync_manager_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698