OLD | NEW |
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/app_mode/kiosk_oem_manifest_parser.h" | 5 #include "chromeos/app_mode/kiosk_oem_manifest_parser.h" |
6 | 6 |
7 #include "base/json/json_file_value_serializer.h" | 7 #include "base/json/json_file_value_serializer.h" |
8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 const char kEnterpriseManaged[] = "enterprise_managed"; | 15 const char kEnterpriseManaged[] = "enterprise_managed"; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 &manifest->enterprise_managed) || | 49 &manifest->enterprise_managed) || |
50 !dict->GetBoolean(kAllowReset, | 50 !dict->GetBoolean(kAllowReset, |
51 &manifest->can_exit_enrollment)) { | 51 &manifest->can_exit_enrollment)) { |
52 return false; | 52 return false; |
53 } | 53 } |
54 | 54 |
55 return true; | 55 return true; |
56 } | 56 } |
57 | 57 |
58 } // namespace chromeos | 58 } // namespace chromeos |
OLD | NEW |