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

Side by Side Diff: components/sync_sessions/session_data_type_controller_unittest.cc

Issue 1651203002: Update components for new prefs location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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_sessions/session_data_type_controller.h" 5 #include "components/sync_sessions/session_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/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/prefs/pref_registry_simple.h"
13 #include "base/prefs/testing_pref_service.h"
14 #include "base/run_loop.h" 12 #include "base/run_loop.h"
15 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
14 #include "components/prefs/pref_registry_simple.h"
15 #include "components/prefs/testing_pref_service.h"
16 #include "components/sync_driver/fake_sync_client.h" 16 #include "components/sync_driver/fake_sync_client.h"
17 #include "components/sync_driver/local_device_info_provider_mock.h" 17 #include "components/sync_driver/local_device_info_provider_mock.h"
18 #include "components/sync_driver/sync_api_component_factory_mock.h" 18 #include "components/sync_driver/sync_api_component_factory_mock.h"
19 #include "components/sync_sessions/fake_sync_sessions_client.h" 19 #include "components/sync_sessions/fake_sync_sessions_client.h"
20 #include "components/sync_sessions/synced_window_delegate.h" 20 #include "components/sync_sessions/synced_window_delegate.h"
21 #include "components/sync_sessions/synced_window_delegates_getter.h" 21 #include "components/sync_sessions/synced_window_delegates_getter.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 using sync_driver::LocalDeviceInfoProviderMock; 24 using sync_driver::LocalDeviceInfoProviderMock;
25 25
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 268
269 local_device_->SetInitialized(true); 269 local_device_->SetInitialized(true);
270 EXPECT_EQ(sync_driver::DataTypeController::MODEL_LOADED, 270 EXPECT_EQ(sync_driver::DataTypeController::MODEL_LOADED,
271 controller_->state()); 271 controller_->state());
272 EXPECT_TRUE(LoadResult()); 272 EXPECT_TRUE(LoadResult());
273 } 273 }
274 274
275 } // namespace 275 } // namespace
276 276
277 } // namespace browser_sync 277 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/sync_sessions/session_data_type_controller.cc ('k') | components/syncable_prefs/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698