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

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

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/macros.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "base/prefs/pref_value_map.h" 11 #include "base/prefs/pref_value_map.h"
11 #include "base/values.h" 12 #include "base/values.h"
12 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" 13 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h"
13 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
14 #include "components/policy/core/browser/policy_error_map.h" 15 #include "components/policy/core/browser/policy_error_map.h"
15 #include "components/policy/core/common/external_data_fetcher.h" 16 #include "components/policy/core/common/external_data_fetcher.h"
16 #include "components/policy/core/common/policy_map.h" 17 #include "components/policy/core/common/policy_map.h"
17 #include "components/policy/core/common/policy_types.h" 18 #include "components/policy/core/common/policy_types.h"
18 #include "components/policy/core/common/schema.h" 19 #include "components/policy/core/common/schema.h"
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 new base::FundamentalValue(false), 395 new base::FundamentalValue(false),
395 NULL); 396 NULL);
396 LoginScreenPowerManagementPolicyHandler handler(chrome_schema_); 397 LoginScreenPowerManagementPolicyHandler handler(chrome_schema_);
397 PolicyErrorMap errors; 398 PolicyErrorMap errors;
398 EXPECT_FALSE(handler.CheckPolicySettings(policy_map, &errors)); 399 EXPECT_FALSE(handler.CheckPolicySettings(policy_map, &errors));
399 EXPECT_FALSE( 400 EXPECT_FALSE(
400 errors.GetErrors(key::kDeviceLoginScreenPowerManagement).empty()); 401 errors.GetErrors(key::kDeviceLoginScreenPowerManagement).empty());
401 } 402 }
402 403
403 } // namespace policy 404 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698