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

Side by Side Diff: components/sync_driver/backend_migrator.cc

Issue 1380693004: [Sync] Fixing sync_driver lint violations and adding PRESUBMIT lint check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cross
Patch Set: Removing lint fixes for revisit files, removing revisit patch dep. Created 5 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/backend_migrator.h" 5 #include "components/sync_driver/backend_migrator.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
11 #include "base/tracked_objects.h" 11 #include "base/tracked_objects.h"
12 #include "components/sync_driver/sync_service.h" 12 #include "components/sync_driver/sync_service.h"
13 #include "sync/internal_api/public/configure_reason.h" 13 #include "sync/internal_api/public/configure_reason.h"
14 #include "sync/internal_api/public/read_transaction.h" 14 #include "sync/internal_api/public/read_transaction.h"
15 #include "sync/protocol/sync.pb.h" 15 #include "sync/protocol/sync.pb.h"
16 #include "sync/syncable/directory.h" // TODO(tim): Bug 131130. 16 #include "sync/syncable/directory.h" // TODO(tim): Bug 131130.
17 17
18 using syncer::ModelTypeSet; 18 using syncer::ModelTypeSet;
19 19
20 namespace browser_sync { 20 namespace browser_sync {
21 21
22 using syncer::ModelTypeToString; 22 using syncer::ModelTypeToString;
23 23
24 MigrationObserver::~MigrationObserver() {} 24 MigrationObserver::~MigrationObserver() {}
25 25
26 BackendMigrator::BackendMigrator(const std::string& name, 26 BackendMigrator::BackendMigrator(const std::string& name,
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 syncer::ModelTypeSet BackendMigrator::GetPendingMigrationTypesForTest() const { 215 syncer::ModelTypeSet BackendMigrator::GetPendingMigrationTypesForTest() const {
216 return to_migrate_; 216 return to_migrate_;
217 } 217 }
218 218
219 #undef SDVLOG 219 #undef SDVLOG
220 220
221 #undef SLOG 221 #undef SLOG
222 222
223 }; // namespace browser_sync 223 }; // namespace browser_sync
OLDNEW
« no previous file with comments | « components/sync_driver/backend_migrator.h ('k') | components/sync_driver/backup_rollback_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698