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

Side by Side Diff: components/sync/engine_impl/sync_scheduler_impl_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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/engine_impl/sync_scheduler_impl.h" 5 #include "components/sync/engine_impl/sync_scheduler_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/message_loop/message_loop.h"
15 #include "base/run_loop.h" 16 #include "base/run_loop.h"
16 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
17 #include "base/test/test_timeouts.h" 18 #include "base/test/test_timeouts.h"
18 #include "base/threading/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
19 #include "components/sync/base/cancelation_signal.h" 20 #include "components/sync/base/cancelation_signal.h"
20 #include "components/sync/base/extensions_activity.h" 21 #include "components/sync/base/extensions_activity.h"
21 #include "components/sync/base/model_type_test_util.h" 22 #include "components/sync/base/model_type_test_util.h"
22 #include "components/sync/engine_impl/backoff_delay_provider.h" 23 #include "components/sync/engine_impl/backoff_delay_provider.h"
23 #include "components/sync/engine_impl/cycle/test_util.h" 24 #include "components/sync/engine_impl/cycle/test_util.h"
24 #include "components/sync/syncable/test_user_share.h" 25 #include "components/sync/syncable/test_user_share.h"
(...skipping 1868 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 EXPECT_TRUE(GetBackedOffTypes().HasAll(themes_types)); 1894 EXPECT_TRUE(GetBackedOffTypes().HasAll(themes_types));
1894 EXPECT_FALSE(GetBackedOffTypes().HasAll(typed_urls_types)); 1895 EXPECT_FALSE(GetBackedOffTypes().HasAll(typed_urls_types));
1895 EXPECT_TRUE(BlockTimerIsRunning()); 1896 EXPECT_TRUE(BlockTimerIsRunning());
1896 EXPECT_FALSE(scheduler()->IsBackingOff()); 1897 EXPECT_FALSE(scheduler()->IsBackingOff());
1897 EXPECT_FALSE(scheduler()->IsCurrentlyThrottled()); 1898 EXPECT_FALSE(scheduler()->IsCurrentlyThrottled());
1898 1899
1899 StopSyncScheduler(); 1900 StopSyncScheduler();
1900 } 1901 }
1901 1902
1902 } // namespace syncer 1903 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698