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

Side by Side Diff: components/sync/driver/about_sync_util_unittest.cc

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Update for Max's comments. 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/driver/about_sync_util.h" 5 #include "components/sync/driver/about_sync_util.h"
6 6
7 #include "base/strings/utf_string_conversions.h" 7 #include "base/strings/utf_string_conversions.h"
8 #include "components/sync/driver/fake_sync_service.h" 8 #include "components/sync/driver/fake_sync_service.h"
9 #include "components/sync/engine/sync_status.h" 9 #include "components/sync/engine/sync_status.h"
10 #include "components/version_info/version_info.h"
11 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
13 12
14 using ::testing::NiceMock; 13 using ::testing::NiceMock;
15 using ::testing::Return; 14 using ::testing::Return;
16 using ::testing::_; 15 using ::testing::_;
17 16
18 namespace syncer { 17 namespace syncer {
19 namespace sync_ui_util { 18 namespace sync_ui_util {
20 namespace { 19 namespace {
(...skipping 20 matching lines...) Expand all
41 40
42 std::unique_ptr<base::DictionaryValue> strings(ConstructAboutInformation( 41 std::unique_ptr<base::DictionaryValue> strings(ConstructAboutInformation(
43 &service, NULL, version_info::Channel::UNKNOWN)); 42 &service, NULL, version_info::Channel::UNKNOWN));
44 43
45 EXPECT_TRUE(strings->HasKey("unrecoverable_error_detected")); 44 EXPECT_TRUE(strings->HasKey("unrecoverable_error_detected"));
46 } 45 }
47 46
48 } // namespace 47 } // namespace
49 } // namespace sync_ui_util 48 } // namespace sync_ui_util
50 } // namespace syncer 49 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698