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 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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> 7 #include <memory>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "base/tracked_objects.h" 16 #include "base/tracked_objects.h"
17 #include "components/sync_driver/change_processor_mock.h" 17 #include "components/sync_driver/change_processor_mock.h"
18 #include "components/sync_driver/data_type_controller_mock.h" 18 #include "components/sync_driver/data_type_controller_mock.h"
19 #include "components/sync_driver/fake_sync_client.h" 19 #include "components/sync_driver/fake_sync_client.h"
20 #include "components/sync_driver/fake_sync_service.h" 20 #include "components/sync_driver/fake_sync_service.h"
21 #include "components/sync_driver/frontend_data_type_controller_mock.h" 21 #include "components/sync_driver/frontend_data_type_controller_mock.h"
22 #include "components/sync_driver/model_associator_mock.h" 22 #include "components/sync_driver/model_associator_mock.h"
23 #include "components/sync_driver/sync_api_component_factory_mock.h" 23 #include "components/sync_driver/sync_api_component_factory_mock.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 25
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 SetActivateExpectations(DataTypeController::OK); 260 SetActivateExpectations(DataTypeController::OK);
261 SetStopExpectations(); 261 SetStopExpectations();
262 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state()); 262 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state());
263 Start(); 263 Start();
264 EXPECT_EQ(DataTypeController::RUNNING, frontend_dtc_->state()); 264 EXPECT_EQ(DataTypeController::RUNNING, frontend_dtc_->state());
265 frontend_dtc_->Stop(); 265 frontend_dtc_->Stop();
266 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state()); 266 EXPECT_EQ(DataTypeController::NOT_RUNNING, frontend_dtc_->state());
267 } 267 }
268 268
269 } // namespace 269 } // namespace
OLDNEW
« no previous file with comments | « components/sync_driver/frontend_data_type_controller.cc ('k') | components/sync_driver/generic_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698