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

Unified Diff: sync/sessions/ordered_commit_set_unittest.cc

Issue 10699044: [Sync] Move sync/{internal_api,syncable} into syncer namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/write_node.cc ('k') | sync/sessions/sync_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/ordered_commit_set_unittest.cc
diff --git a/sync/sessions/ordered_commit_set_unittest.cc b/sync/sessions/ordered_commit_set_unittest.cc
index fcdc891d0c949da8654513cd3eeb4a4336353f1f..8bf420a30c4190c16694bdd17669fbd8ba3966ab 100644
--- a/sync/sessions/ordered_commit_set_unittest.cc
+++ b/sync/sessions/ordered_commit_set_unittest.cc
@@ -8,6 +8,10 @@
using std::vector;
+namespace syncer {
+namespace sessions {
+namespace {
rlarocque 2012/07/02 18:42:02 This (anonymous namespace) looks like a good idea.
akalin 2012/07/02 18:44:53 We should. ODR violations in test helper class na
+
class OrderedCommitSetTest : public testing::Test {
public:
OrderedCommitSetTest() {
@@ -21,9 +25,6 @@ class OrderedCommitSetTest : public testing::Test {
syncer::ModelSafeRoutingInfo routes_;
};
-namespace syncer {
-namespace sessions {
-
TEST_F(OrderedCommitSetTest, Projections) {
vector<syncable::Id> expected;
for (int i = 0; i < 8; i++)
@@ -127,6 +128,6 @@ TEST_F(OrderedCommitSetTest, AddAndRemoveEntries) {
ASSERT_TRUE(commit_set.Empty());
}
+} // namespace
} // namespace sessions
} // namespace syncer
-
« no previous file with comments | « sync/internal_api/write_node.cc ('k') | sync/sessions/sync_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698