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

Side by Side Diff: components/sync/driver/shared_change_processor.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
« no previous file with comments | « components/sync/driver/pref_names.cc ('k') | components/sync/driver/sync_prefs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/shared_change_processor.h" 5 #include "components/sync/driver/shared_change_processor.h"
6 6
7 #include <memory>
8 #include <utility> 7 #include <utility>
9 8
10 #include "base/threading/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
11 #include "components/sync/api/data_type_error_handler.h"
12 #include "components/sync/api/sync_change.h" 10 #include "components/sync/api/sync_change.h"
13 #include "components/sync/api/syncable_service.h" 11 #include "components/sync/api/syncable_service.h"
14 #include "components/sync/base/data_type_histogram.h" 12 #include "components/sync/base/data_type_histogram.h"
15 #include "components/sync/driver/generic_change_processor.h" 13 #include "components/sync/driver/generic_change_processor.h"
16 #include "components/sync/driver/generic_change_processor_factory.h" 14 #include "components/sync/driver/generic_change_processor_factory.h"
17 #include "components/sync/driver/shared_change_processor_ref.h" 15 #include "components/sync/driver/shared_change_processor_ref.h"
18 #include "components/sync/driver/sync_client.h" 16 #include "components/sync/driver/sync_client.h"
19 17
20 using base::AutoLock; 18 using base::AutoLock;
21 19
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 #undef PER_DATA_TYPE_MACRO 325 #undef PER_DATA_TYPE_MACRO
328 } 326 }
329 327
330 void SharedChangeProcessor::StopLocalService() { 328 void SharedChangeProcessor::StopLocalService() {
331 if (local_service_.get()) 329 if (local_service_.get())
332 local_service_->StopSyncing(type_); 330 local_service_->StopSyncing(type_);
333 local_service_.reset(); 331 local_service_.reset();
334 } 332 }
335 333
336 } // namespace sync_driver 334 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync/driver/pref_names.cc ('k') | components/sync/driver/sync_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698