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

Side by Side Diff: chrome/browser/chromeos/policy/configuration_policy_handler_chromeos_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 (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 "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h " 5 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h "
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/prefs/pref_value_map.h" 10 #include "base/prefs/pref_value_map.h"
(...skipping 16 matching lines...) Expand all
27 protected: 27 protected:
28 PolicyMap policy_; 28 PolicyMap policy_;
29 PrefValueMap prefs_; 29 PrefValueMap prefs_;
30 ScreenMagnifierPolicyHandler handler_; 30 ScreenMagnifierPolicyHandler handler_;
31 }; 31 };
32 32
33 class LoginScreenPowerManagementPolicyHandlerTest : public testing::Test { 33 class LoginScreenPowerManagementPolicyHandlerTest : public testing::Test {
34 protected: 34 protected:
35 LoginScreenPowerManagementPolicyHandlerTest(); 35 LoginScreenPowerManagementPolicyHandlerTest();
36 36
37 virtual void SetUp() OVERRIDE; 37 virtual void SetUp() override;
38 38
39 Schema chrome_schema_; 39 Schema chrome_schema_;
40 40
41 private: 41 private:
42 DISALLOW_COPY_AND_ASSIGN(LoginScreenPowerManagementPolicyHandlerTest); 42 DISALLOW_COPY_AND_ASSIGN(LoginScreenPowerManagementPolicyHandlerTest);
43 }; 43 };
44 44
45 LoginScreenPowerManagementPolicyHandlerTest:: 45 LoginScreenPowerManagementPolicyHandlerTest::
46 LoginScreenPowerManagementPolicyHandlerTest() { 46 LoginScreenPowerManagementPolicyHandlerTest() {
47 } 47 }
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 new base::FundamentalValue(false), 377 new base::FundamentalValue(false),
378 NULL); 378 NULL);
379 LoginScreenPowerManagementPolicyHandler handler(chrome_schema_); 379 LoginScreenPowerManagementPolicyHandler handler(chrome_schema_);
380 PolicyErrorMap errors; 380 PolicyErrorMap errors;
381 EXPECT_FALSE(handler.CheckPolicySettings(policy_map, &errors)); 381 EXPECT_FALSE(handler.CheckPolicySettings(policy_map, &errors));
382 EXPECT_FALSE( 382 EXPECT_FALSE(
383 errors.GetErrors(key::kDeviceLoginScreenPowerManagement).empty()); 383 errors.GetErrors(key::kDeviceLoginScreenPowerManagement).empty());
384 } 384 }
385 385
386 } // namespace policy 386 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698