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

Side by Side Diff: chrome/browser/chromeos/policy/recommendation_restorer_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/chromeos/policy/recommendation_restorer.h" 5 #include "chrome/browser/chromeos/policy/recommendation_restorer.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "ash/accessibility_types.h" 10 #include "ash/accessibility_types.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/message_loop/message_loop.h"
12 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
13 #include "base/test/test_simple_task_runner.h" 14 #include "base/test/test_simple_task_runner.h"
14 #include "base/threading/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
15 #include "base/time/time.h" 16 #include "base/time/time.h"
16 #include "base/values.h" 17 #include "base/values.h"
17 #include "chrome/browser/chrome_notification_types.h" 18 #include "chrome/browser/chrome_notification_types.h"
18 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h" 19 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h"
19 #include "chrome/browser/prefs/browser_prefs.h" 20 #include "chrome/browser/prefs/browser_prefs.h"
20 #include "chrome/common/chrome_constants.h" 21 #include "chrome/common/chrome_constants.h"
21 #include "chrome/common/pref_names.h" 22 #include "chrome/common/pref_names.h"
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 561
561 // Fast forward until the reset timer fires. 562 // Fast forward until the reset timer fires.
562 VerifyTimerIsRunning(); 563 VerifyTimerIsRunning();
563 runner_->RunUntilIdle(); 564 runner_->RunUntilIdle();
564 VerifyPrefFollowsRecommendation(prefs::kAccessibilityLargeCursorEnabled, 565 VerifyPrefFollowsRecommendation(prefs::kAccessibilityLargeCursorEnabled,
565 base::Value(false)); 566 base::Value(false));
566 VerifyTimerIsStopped(); 567 VerifyTimerIsStopped();
567 } 568 }
568 569
569 } // namespace policy 570 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698