OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 CHROME_RENDERER_MANIFEST_MANIFEST_PARSER_H_ |
| 6 #define CHROME_RENDERER_MANIFEST_MANIFEST_PARSER_H_ |
| 7 |
| 8 // TODO: |
| 9 class ChromeManifestParser { |
| 10 public: |
| 11 ChromeManifestParser(); |
| 12 ~ChromeManifestParser(); |
| 13 |
| 14 // protected: |
| 15 // void ParseExtensionPoint(const base::DictionaryValue& dictionary); |
| 16 |
| 17 // private: |
| 18 // // Parses the 'gcm_sender_id' field of the manifest. |
| 19 // // This is a proprietary extension of the Web Manifest specification. |
| 20 // // Returns the parsed string if any, a null string if the parsing failed. |
| 21 // base::NullableString16 ParseGCMSenderID( |
| 22 // const base::DictionaryValue& dictionary); |
| 23 |
| 24 // // Parses the 'gcm_user_visible_only' field of the manifest. |
| 25 // // This is a proprietary extension of the Web Manifest specification. |
| 26 // // Returns true iff the string could be parsed as the boolean true. |
| 27 // bool ParseGCMUserVisibleOnly(const base::DictionaryValue& dictionary); |
| 28 |
| 29 // DISALLOW_COPY_AND_ASSIGN(ChromeManifestParser); |
| 30 }; |
| 31 |
| 32 #endif // CHROME_RENDERER_MANIFEST_MANIFEST_PARSER_H_ |
OLD | NEW |