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

Side by Side Diff: components/sync/driver/glue/sync_backend_registrar.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/glue/sync_backend_registrar.h" 5 #include "components/sync/driver/glue/sync_backend_registrar.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cstddef> 8 #include <cstddef>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/compiler_specific.h"
12 #include "base/logging.h" 11 #include "base/logging.h"
13 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
14 #include "components/sync/core/user_share.h" 13 #include "components/sync/core/user_share.h"
15 #include "components/sync/driver/change_processor.h" 14 #include "components/sync/driver/change_processor.h"
16 #include "components/sync/driver/sync_client.h" 15 #include "components/sync/driver/sync_client.h"
17 16
18 using syncer::ModelSafeGroup; 17 using syncer::ModelSafeGroup;
19 using syncer::ModelSafeRoutingInfo; 18 using syncer::ModelSafeRoutingInfo;
20 using syncer::ModelType; 19 using syncer::ModelType;
21 using syncer::ModelTypeSet; 20 using syncer::ModelTypeSet;
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 return sync_thread_.get(); 381 return sync_thread_.get();
383 } 382 }
384 383
385 ModelSafeGroup SyncBackendRegistrar::GetInitialGroupForType( 384 ModelSafeGroup SyncBackendRegistrar::GetInitialGroupForType(
386 ModelType type) const { 385 ModelType type) const {
387 return non_blocking_types_.Has(type) ? syncer::GROUP_NON_BLOCKING 386 return non_blocking_types_.Has(type) ? syncer::GROUP_NON_BLOCKING
388 : syncer::GROUP_PASSIVE; 387 : syncer::GROUP_PASSIVE;
389 } 388 }
390 389
391 } // namespace browser_sync 390 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl.cc ('k') | components/sync/driver/invalidation_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698