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

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

Issue 15798019: Use a direct include of strings headers in chrome/browser/chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
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 <string> 7 #include <string>
8 8
9 #include "ash/magnifier/magnifier_constants.h" 9 #include "ash/magnifier/magnifier_constants.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
11 #include "base/json/json_writer.h" 11 #include "base/json/json_writer.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/prefs/pref_value_map.h" 13 #include "base/prefs/pref_value_map.h"
14 #include "base/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "chrome/browser/policy/policy_error_map.h" 16 #include "chrome/browser/policy/policy_error_map.h"
17 #include "chrome/browser/policy/policy_map.h" 17 #include "chrome/browser/policy/policy_map.h"
18 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" 18 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h"
19 #include "chrome/common/pref_names.h" 19 #include "chrome/common/pref_names.h"
20 #include "chromeos/network/onc/onc_constants.h" 20 #include "chromeos/network/onc/onc_constants.h"
21 #include "chromeos/network/onc/onc_signature.h" 21 #include "chromeos/network/onc/onc_signature.h"
22 #include "chromeos/network/onc/onc_utils.h" 22 #include "chromeos/network/onc/onc_utils.h"
23 #include "chromeos/network/onc/onc_validator.h" 23 #include "chromeos/network/onc/onc_validator.h"
24 #include "grit/generated_resources.h" 24 #include "grit/generated_resources.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 int value_in_range; 183 int value_in_range;
184 if (value && EnsureInRange(value, &value_in_range, NULL)) { 184 if (value && EnsureInRange(value, &value_in_range, NULL)) {
185 prefs->SetValue(prefs::kScreenMagnifierEnabled, 185 prefs->SetValue(prefs::kScreenMagnifierEnabled,
186 base::Value::CreateBooleanValue(value_in_range != 0)); 186 base::Value::CreateBooleanValue(value_in_range != 0));
187 prefs->SetValue(prefs::kScreenMagnifierType, 187 prefs->SetValue(prefs::kScreenMagnifierType,
188 base::Value::CreateIntegerValue(value_in_range)); 188 base::Value::CreateIntegerValue(value_in_range));
189 } 189 }
190 } 190 }
191 191
192 } // namespace policy 192 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/app_pack_updater.cc ('k') | chrome/browser/chromeos/policy/device_local_account.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698