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

Side by Side Diff: chrome/browser/chromeos/policy/recommendation_restorer_unittest.cc

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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 "ash/magnifier/magnifier_constants.h" 7 #include "ash/magnifier/magnifier_constants.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/prefs/pref_notifier_impl.h" 9 #include "base/prefs/pref_notifier_impl.h"
10 #include "base/prefs/testing_pref_store.h" 10 #include "base/prefs/testing_pref_store.h"
(...skipping 23 matching lines...) Expand all
34 namespace { 34 namespace {
35 // The amount of idle time after which recommended values are restored. 35 // The amount of idle time after which recommended values are restored.
36 const int kRestoreDelayInMs = 60 * 1000; // 1 minute. 36 const int kRestoreDelayInMs = 60 * 1000; // 1 minute.
37 } // namespace 37 } // namespace
38 38
39 class RecommendationRestorerTest : public testing::Test { 39 class RecommendationRestorerTest : public testing::Test {
40 protected: 40 protected:
41 RecommendationRestorerTest(); 41 RecommendationRestorerTest();
42 42
43 // testing::Test: 43 // testing::Test:
44 virtual void SetUp() OVERRIDE; 44 virtual void SetUp() override;
45 45
46 void RegisterUserProfilePrefs(); 46 void RegisterUserProfilePrefs();
47 void RegisterLoginProfilePrefs(); 47 void RegisterLoginProfilePrefs();
48 48
49 void SetRecommendedValues(); 49 void SetRecommendedValues();
50 void SetUserSettings(); 50 void SetUserSettings();
51 51
52 void CreateLoginProfile(); 52 void CreateLoginProfile();
53 void CreateUserProfile(); 53 void CreateUserProfile();
54 54
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 552
553 // Fast forward until the reset timer fires. 553 // Fast forward until the reset timer fires.
554 VerifyTimerIsRunning(); 554 VerifyTimerIsRunning();
555 runner_->RunUntilIdle(); 555 runner_->RunUntilIdle();
556 VerifyPrefFollowsRecommendation(prefs::kAccessibilityLargeCursorEnabled, 556 VerifyPrefFollowsRecommendation(prefs::kAccessibilityLargeCursorEnabled,
557 base::FundamentalValue(false)); 557 base::FundamentalValue(false));
558 VerifyTimerIsStopped(); 558 VerifyTimerIsStopped();
559 } 559 }
560 560
561 } // namespace policy 561 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698