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

Side by Side Diff: components/sync/api/sync_error_unittest.cc

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Rebase. Created 4 years, 2 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "components/sync/api/sync_error.h" 5 #include "components/sync/api/sync_error.h"
6 6
7 #include <string>
8
9 #include "base/location.h" 7 #include "base/location.h"
10 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
11 9
12 namespace syncer { 10 namespace syncer {
13 11
14 namespace { 12 namespace {
15 13
16 using std::string; 14 using std::string;
17 15
18 typedef testing::Test SyncErrorTest; 16 typedef testing::Test SyncErrorTest;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 EXPECT_EQ(std::string(), error2.ToString()); 142 EXPECT_EQ(std::string(), error2.ToString());
145 143
146 error2 = error; 144 error2 = error;
147 EXPECT_TRUE(error2.IsSet()); 145 EXPECT_TRUE(error2.IsSet());
148 EXPECT_NE(string::npos, error.ToString().find(expected)); 146 EXPECT_NE(string::npos, error.ToString().find(expected));
149 } 147 }
150 148
151 } // namespace 149 } // namespace
152 150
153 } // namespace syncer 151 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698