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

Side by Side Diff: components/sync/engine/model_safe_worker.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 (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/engine/model_safe_worker.h" 5 #include "components/sync/engine/model_safe_worker.h"
6 6
7 #include <memory>
8
9 #include "base/bind.h" 7 #include "base/bind.h"
10 #include "base/json/json_writer.h" 8 #include "base/json/json_writer.h"
11 #include "base/threading/thread_task_runner_handle.h" 9 #include "base/threading/thread_task_runner_handle.h"
12 #include "base/values.h" 10 #include "base/values.h"
13 11
14 namespace syncer { 12 namespace syncer {
15 13
16 std::unique_ptr<base::DictionaryValue> ModelSafeRoutingInfoToValue( 14 std::unique_ptr<base::DictionaryValue> ModelSafeRoutingInfoToValue(
17 const ModelSafeRoutingInfo& routing_info) { 15 const ModelSafeRoutingInfo& routing_info) {
18 std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue()); 16 std::unique_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 return; 189 return;
192 DCHECK(working_task_runner_->BelongsToCurrentThread()); 190 DCHECK(working_task_runner_->BelongsToCurrentThread());
193 } 191 }
194 192
195 DCHECK(stopped_); 193 DCHECK(stopped_);
196 base::MessageLoop::current()->RemoveDestructionObserver(this); 194 base::MessageLoop::current()->RemoveDestructionObserver(this);
197 unregister_done_callback.Run(GetModelSafeGroup()); 195 unregister_done_callback.Run(GetModelSafeGroup());
198 } 196 }
199 197
200 } // namespace syncer 198 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine/cycle/update_counters.cc ('k') | components/sync/engine/polling_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698