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

Unified Diff: components/sync/driver/about_sync_util_unittest.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/driver/about_sync_util.cc ('k') | components/sync/driver/backend_data_type_configurer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/about_sync_util_unittest.cc
diff --git a/components/sync/driver/about_sync_util_unittest.cc b/components/sync/driver/about_sync_util_unittest.cc
index 3c41a414fdfa4b6b99feeb757338f9fddc37d62a..e6e7ac5f5316b9e6c2b9532b323cafb5f27c48b8 100644
--- a/components/sync/driver/about_sync_util_unittest.cc
+++ b/components/sync/driver/about_sync_util_unittest.cc
@@ -15,24 +15,26 @@ using ::testing::NiceMock;
using ::testing::Return;
using ::testing::_;
-namespace syncer {
+namespace sync_driver {
namespace sync_ui_util {
namespace {
-class SyncServiceMock : public FakeSyncService {
+class SyncServiceMock : public sync_driver::FakeSyncService {
public:
bool IsFirstSetupComplete() const override { return true; }
bool HasUnrecoverableError() const override { return true; }
- bool QueryDetailedSyncStatus(SyncStatus* result) override { return false; }
+ bool QueryDetailedSyncStatus(syncer::SyncStatus* result) override {
+ return false;
+ }
base::string16 GetLastSyncedTimeString() const override {
return base::string16(base::ASCIIToUTF16("none"));
}
- SyncCycleSnapshot GetLastCycleSnapshot() const override {
- return SyncCycleSnapshot();
+ syncer::SyncCycleSnapshot GetLastCycleSnapshot() const override {
+ return syncer::SyncCycleSnapshot();
}
};
@@ -47,4 +49,4 @@ TEST(SyncUIUtilTestAbout, ConstructAboutInformationWithUnrecoverableErrorTest) {
} // namespace
} // namespace sync_ui_util
-} // namespace syncer
+} // namespace sync_driver
« no previous file with comments | « components/sync/driver/about_sync_util.cc ('k') | components/sync/driver/backend_data_type_configurer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698