OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_RENDERER_MANIFEST_MANIFEST_PARSER_H_ |
| 6 #define CONTENT_RENDERER_MANIFEST_MANIFEST_PARSER_H_ |
| 7 |
| 8 #include "base/strings/string_piece.h" |
| 9 #include "content/common/content_export.h" |
| 10 |
| 11 namespace base { |
| 12 class DictionaryValue; |
| 13 } |
| 14 |
| 15 namespace content { |
| 16 |
| 17 struct Manifest; |
| 18 |
| 19 // ManifestParser handles the logic of parsing the Web Manifest from a string. |
| 20 // It implements: |
| 21 // http://w3c.github.io/manifest/#dfn-steps-for-processing-a-manifest |
| 22 class CONTENT_EXPORT ManifestParser { |
| 23 public: |
| 24 static Manifest Parse(const base::StringPiece&); |
| 25 }; |
| 26 |
| 27 } // namespace content |
| 28 |
| 29 #endif // CONTENT_RENDERER_MANIFEST_MANIFEST_PARSER_H_ |
OLD | NEW |