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

Side by Side Diff: components/sync/driver/ui_data_type_controller_unittest.cc

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Update for Max's comments. 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 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/ui_data_type_controller.h" 5 #include "components/sync/driver/ui_data_type_controller.h"
6 6
7 #include <memory>
8 #include <utility> 7 #include <utility>
9 8
10 #include "base/bind.h" 9 #include "base/bind.h"
11 #include "base/location.h" 10 #include "base/location.h"
12 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
13 #include "base/run_loop.h" 12 #include "base/run_loop.h"
14 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
15 #include "base/threading/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
16 #include "base/tracked_objects.h" 15 #include "base/tracked_objects.h"
17 #include "components/sync/api/fake_syncable_service.h" 16 #include "components/sync/api/fake_syncable_service.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 203
205 testing::Mock::VerifyAndClearExpectations(&start_callback_); 204 testing::Mock::VerifyAndClearExpectations(&start_callback_);
206 EXPECT_CALL(model_load_callback_, Run(_, _)); 205 EXPECT_CALL(model_load_callback_, Run(_, _));
207 SyncError error(FROM_HERE, SyncError::DATATYPE_ERROR, "error", PREFERENCES); 206 SyncError error(FROM_HERE, SyncError::DATATYPE_ERROR, "error", PREFERENCES);
208 preference_dtc_->OnUnrecoverableError(error); 207 preference_dtc_->OnUnrecoverableError(error);
209 PumpLoop(); 208 PumpLoop();
210 } 209 }
211 210
212 } // namespace 211 } // namespace
213 } // namespace syncer 212 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/driver/system_encryptor_unittest.cc ('k') | components/sync/engine/cycle/sync_cycle_snapshot_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698