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

Side by Side Diff: components/sync_driver/device_info_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/device_info_data_type_controller.h" 5 #include "components/sync_driver/device_info_data_type_controller.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "components/sync_driver/fake_sync_client.h" 12 #include "components/sync_driver/fake_sync_client.h"
13 #include "components/sync_driver/local_device_info_provider_mock.h" 13 #include "components/sync_driver/local_device_info_provider_mock.h"
14 #include "components/sync_driver/sync_api_component_factory.h" 14 #include "components/sync_driver/sync_api_component_factory.h"
15 #include "sync/internal_api/public/base/model_type.h" 15 #include "sync/internal_api/public/base/model_type.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 namespace sync_driver { 18 namespace sync_driver {
19 19
20 namespace { 20 namespace {
21 21
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 controller_->Stop(); 121 controller_->Stop();
122 // Destroy |local_device_| and |controller_| out of order 122 // Destroy |local_device_| and |controller_| out of order
123 // to verify that the controller doesn't crash in the destructor. 123 // to verify that the controller doesn't crash in the destructor.
124 local_device_.reset(); 124 local_device_.reset();
125 controller_ = NULL; 125 controller_ = NULL;
126 } 126 }
127 127
128 } // namespace 128 } // namespace
129 129
130 } // namespace sync_driver 130 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/backend_migrator.cc ('k') | components/sync_driver/fake_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698