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

Unified Diff: trunk/src/chromeos/app_mode/kiosk_oem_manifest_parser.h

Issue 14642018: Revert 197960 "[chromeos] Remove dependencies of StatisticsProvi..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/chromeos/app_mode/kiosk_oem_manifest_parser.h
===================================================================
--- trunk/src/chromeos/app_mode/kiosk_oem_manifest_parser.h (revision 197968)
+++ trunk/src/chromeos/app_mode/kiosk_oem_manifest_parser.h (working copy)
@@ -1,44 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROMEOS_APP_MODE_KIOSK_OEM_MANIFEST_PARSER_H_
-#define CHROMEOS_APP_MODE_KIOSK_OEM_MANIFEST_PARSER_H_
-
-#include <string>
-
-#include "base/files/file_path.h"
-#include "chromeos/chromeos_export.h"
-
-namespace chromeos {
-
-// Parser for app kiosk OEM manifest files.
-class CHROMEOS_EXPORT KioskOemManifestParser {
- public:
- // Kiosk OEM manifest.
- struct Manifest {
- Manifest();
-
- // True if OOBE flow should enforce enterprise enrollment.
- bool enterprise_managed;
- // True user can exit enterprise enrollment during OOBE.
- bool can_exit_enrollment;
- // Intended purpose of the device. Meant to be pass-through value for
- // enterprise enrollment.
- std::string device_requisition;
- // True if OOBE flow should be adapted for keyboard flow.
- bool keyboard_driven_oobe;
- };
-
- // Loads manifest from |kiosk_oem_file|. Returns true if manifest was
- // found and successfully parsed.
- static bool Load(const base::FilePath& kiosk_oem_file,
- Manifest* manifest);
-
- private:
- DISALLOW_IMPLICIT_CONSTRUCTORS(KioskOemManifestParser);
-};
-
-} // namespace chromeos
-
-#endif // CHROMEOS_APP_MODE_KIOSK_OEM_MANIFEST_PARSER_H_
« no previous file with comments | « trunk/src/chrome/common/chrome_constants.cc ('k') | trunk/src/chromeos/app_mode/kiosk_oem_manifest_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698