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

Side by Side Diff: components/sync_driver/ui_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 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> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "base/tracked_objects.h" 14 #include "base/tracked_objects.h"
15 #include "components/sync_driver/data_type_controller_mock.h" 15 #include "components/sync_driver/data_type_controller_mock.h"
16 #include "components/sync_driver/fake_generic_change_processor.h" 16 #include "components/sync_driver/fake_generic_change_processor.h"
17 #include "components/sync_driver/fake_sync_client.h" 17 #include "components/sync_driver/fake_sync_client.h"
18 #include "sync/api/fake_syncable_service.h" 18 #include "sync/api/fake_syncable_service.h"
19 #include "sync/internal_api/public/base/model_type.h" 19 #include "sync/internal_api/public/base/model_type.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 21
22 using testing::_; 22 using testing::_;
23 using testing::Invoke; 23 using testing::Invoke;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 EXPECT_CALL(model_load_callback_, Run(_, _)); 200 EXPECT_CALL(model_load_callback_, Run(_, _));
201 syncer::SyncError error(FROM_HERE, 201 syncer::SyncError error(FROM_HERE,
202 syncer::SyncError::DATATYPE_ERROR, 202 syncer::SyncError::DATATYPE_ERROR,
203 "error", 203 "error",
204 syncer::PREFERENCES); 204 syncer::PREFERENCES);
205 preference_dtc_->OnSingleDataTypeUnrecoverableError(error); 205 preference_dtc_->OnSingleDataTypeUnrecoverableError(error);
206 } 206 }
207 207
208 } // namespace 208 } // namespace
209 } // namespace sync_driver 209 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/ui_data_type_controller.cc ('k') | components/sync_sessions/favicon_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698