| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef CHROMEOS_APP_MODE_KIOSK_OEM_MANIFEST_PARSER_H_ | 5 #ifndef CHROMEOS_APP_MODE_KIOSK_OEM_MANIFEST_PARSER_H_ |
| 6 #define CHROMEOS_APP_MODE_KIOSK_OEM_MANIFEST_PARSER_H_ | 6 #define CHROMEOS_APP_MODE_KIOSK_OEM_MANIFEST_PARSER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/macros.h" |
| 11 #include "chromeos/chromeos_export.h" | 12 #include "chromeos/chromeos_export.h" |
| 12 | 13 |
| 13 namespace chromeos { | 14 namespace chromeos { |
| 14 | 15 |
| 15 // Parser for app kiosk OEM manifest files. | 16 // Parser for app kiosk OEM manifest files. |
| 16 class CHROMEOS_EXPORT KioskOemManifestParser { | 17 class CHROMEOS_EXPORT KioskOemManifestParser { |
| 17 public: | 18 public: |
| 18 // Kiosk OEM manifest. | 19 // Kiosk OEM manifest. |
| 19 struct Manifest { | 20 struct Manifest { |
| 20 Manifest(); | 21 Manifest(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 35 static bool Load(const base::FilePath& kiosk_oem_file, | 36 static bool Load(const base::FilePath& kiosk_oem_file, |
| 36 Manifest* manifest); | 37 Manifest* manifest); |
| 37 | 38 |
| 38 private: | 39 private: |
| 39 DISALLOW_IMPLICIT_CONSTRUCTORS(KioskOemManifestParser); | 40 DISALLOW_IMPLICIT_CONSTRUCTORS(KioskOemManifestParser); |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 } // namespace chromeos | 43 } // namespace chromeos |
| 43 | 44 |
| 44 #endif // CHROMEOS_APP_MODE_KIOSK_OEM_MANIFEST_PARSER_H_ | 45 #endif // CHROMEOS_APP_MODE_KIOSK_OEM_MANIFEST_PARSER_H_ |
| OLD | NEW |