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

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

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (Closed)
Patch Set: Created 3 years, 9 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>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "ash/common/accessibility_types.h" 14 #include "ash/accessibility_types.h"
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/json/json_reader.h" 16 #include "base/json/json_reader.h"
17 #include "base/json/json_writer.h" 17 #include "base/json/json_writer.h"
18 #include "base/logging.h" 18 #include "base/logging.h"
19 #include "base/memory/ptr_util.h" 19 #include "base/memory/ptr_util.h"
20 #include "base/strings/string_number_conversions.h" 20 #include "base/strings/string_number_conversions.h"
21 #include "base/strings/string_util.h" 21 #include "base/strings/string_util.h"
22 #include "base/values.h" 22 #include "base/values.h"
23 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" 23 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h"
24 #include "chrome/common/pref_names.h" 24 #include "chrome/common/pref_names.h"
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 476
477 value = GetValue(dict, kScreenLockDelayAC); 477 value = GetValue(dict, kScreenLockDelayAC);
478 if (value) 478 if (value)
479 prefs->SetValue(prefs::kPowerAcScreenLockDelayMs, std::move(value)); 479 prefs->SetValue(prefs::kPowerAcScreenLockDelayMs, std::move(value));
480 value = GetValue(dict, kScreenLockDelayBattery); 480 value = GetValue(dict, kScreenLockDelayBattery);
481 if (value) 481 if (value)
482 prefs->SetValue(prefs::kPowerBatteryScreenLockDelayMs, std::move(value)); 482 prefs->SetValue(prefs::kPowerBatteryScreenLockDelayMs, std::move(value));
483 } 483 }
484 484
485 } // namespace policy 485 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698