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

Side by Side Diff: components/sync/driver/frontend_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 (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/frontend_data_type_controller.h" 5 #include "components/sync/driver/frontend_data_type_controller.h"
6 6
7 #include <memory>
8
9 #include "base/bind.h" 7 #include "base/bind.h"
10 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
11 #include "base/callback.h" 9 #include "base/callback.h"
12 #include "base/location.h" 10 #include "base/location.h"
13 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 12 #include "base/run_loop.h"
15 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
16 #include "base/threading/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
17 #include "base/tracked_objects.h" 15 #include "base/tracked_objects.h"
18 #include "components/sync/driver/change_processor_mock.h" 16 #include "components/sync/driver/change_processor_mock.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 SetActivateExpectations(DataTypeController::OK); 227 SetActivateExpectations(DataTypeController::OK);
230 SetStopExpectations(); 228 SetStopExpectations();
231 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state()); 229 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state());
232 Start(); 230 Start();
233 EXPECT_EQ(DataTypeController::RUNNING, frontend_dtc_->state()); 231 EXPECT_EQ(DataTypeController::RUNNING, frontend_dtc_->state());
234 frontend_dtc_->Stop(); 232 frontend_dtc_->Stop();
235 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state()); 233 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state());
236 } 234 }
237 235
238 } // namespace syncer 236 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/driver/data_type_manager_mock.cc ('k') | components/sync/driver/generic_change_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698