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

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

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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 <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 15 matching lines...) Expand all
26 #include "chromeos/network/onc/onc_signature.h" 26 #include "chromeos/network/onc/onc_signature.h"
27 #include "chromeos/network/onc/onc_utils.h" 27 #include "chromeos/network/onc/onc_utils.h"
28 #include "chromeos/network/onc/onc_validator.h" 28 #include "chromeos/network/onc/onc_validator.h"
29 #include "components/onc/onc_constants.h" 29 #include "components/onc/onc_constants.h"
30 #include "components/policy/core/browser/policy_error_map.h" 30 #include "components/policy/core/browser/policy_error_map.h"
31 #include "components/policy/core/common/external_data_fetcher.h" 31 #include "components/policy/core/common/external_data_fetcher.h"
32 #include "components/policy/core/common/policy_map.h" 32 #include "components/policy/core/common/policy_map.h"
33 #include "components/policy/core/common/schema.h" 33 #include "components/policy/core/common/schema.h"
34 #include "components/policy/policy_constants.h" 34 #include "components/policy/policy_constants.h"
35 #include "components/prefs/pref_value_map.h" 35 #include "components/prefs/pref_value_map.h"
36 #include "components/strings/grit/components_strings.h"
36 #include "crypto/sha2.h" 37 #include "crypto/sha2.h"
37 #include "grit/components_strings.h"
38 #include "url/gurl.h" 38 #include "url/gurl.h"
39 39
40 namespace policy { 40 namespace policy {
41 41
42 namespace { 42 namespace {
43 43
44 const char kSubkeyURL[] = "url"; 44 const char kSubkeyURL[] = "url";
45 const char kSubkeyHash[] = "hash"; 45 const char kSubkeyHash[] = "hash";
46 46
47 bool GetSubkeyString(const base::DictionaryValue& dict, 47 bool GetSubkeyString(const base::DictionaryValue& dict,
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 479
480 value = GetValue(dict, kScreenLockDelayAC); 480 value = GetValue(dict, kScreenLockDelayAC);
481 if (value) 481 if (value)
482 prefs->SetValue(prefs::kPowerAcScreenLockDelayMs, std::move(value)); 482 prefs->SetValue(prefs::kPowerAcScreenLockDelayMs, std::move(value));
483 value = GetValue(dict, kScreenLockDelayBattery); 483 value = GetValue(dict, kScreenLockDelayBattery);
484 if (value) 484 if (value)
485 prefs->SetValue(prefs::kPowerBatteryScreenLockDelayMs, std::move(value)); 485 prefs->SetValue(prefs::kPowerBatteryScreenLockDelayMs, std::move(value));
486 } 486 }
487 487
488 } // namespace policy 488 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698