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

Side by Side Diff: chromeos/app_mode/kiosk_oem_manifest_parser.cc

Issue 1846723007: Fix IWYU violators that don't include scoped_ptr.h in CrOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 "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/memory/scoped_ptr.h"
8 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
9 #include "base/values.h" 10 #include "base/values.h"
10 11
11 namespace chromeos { 12 namespace chromeos {
12 13
13 namespace { 14 namespace {
14 15
15 const char kEnterpriseManaged[] = "enterprise_managed"; 16 const char kEnterpriseManaged[] = "enterprise_managed";
16 const char kAllowReset[] = "can_exit_enrollment"; 17 const char kAllowReset[] = "can_exit_enrollment";
17 const char kDeviceRequisition[] = "device_requisition"; 18 const char kDeviceRequisition[] = "device_requisition";
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 &manifest->enterprise_managed) || 50 &manifest->enterprise_managed) ||
50 !dict->GetBoolean(kAllowReset, 51 !dict->GetBoolean(kAllowReset,
51 &manifest->can_exit_enrollment)) { 52 &manifest->can_exit_enrollment)) {
52 return false; 53 return false;
53 } 54 }
54 55
55 return true; 56 return true;
56 } 57 }
57 58
58 } // namespace chromeos 59 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/demo_mode_detector.h ('k') | chromeos/audio/audio_devices_pref_handler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698