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

Side by Side Diff: content/public/common/manifest.h

Issue 550173002: Implement ManifestParser in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest_fetcher
Patch Set: Created 6 years, 3 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/manifest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_PUBLIC_COMMON_MANIFEST_H_
6 #define CONTENT_PUBLIC_COMMON_MANIFEST_H_
7
8 #include "base/strings/nullable_string16.h"
9 #include "content/common/content_export.h"
10
11 namespace content {
12
13 // The Manifest structure is an internal representation of the Manifest file
14 // described in the "Manifest for Web Application" document:
15 // http://w3c.github.io/manifest/
16 struct CONTENT_EXPORT Manifest {
17 // Returns whether this Manifest had no attribute set. A newly created
18 // Manifest is always empty.
19 bool IsEmpty() const;
jochen (gone - plz use gerrit) 2014/09/10 08:05:21 no methods on structs. if you want this to be a st
mlamouri (slow - plz ping) 2014/09/10 14:23:43 What are the alternatives here? I keep struct and
20
21 // Null if the parsing failed or the field was not present.
22 base::NullableString16 name;
23
24 // Null if the parsing failed or the field was not present.
25 base::NullableString16 short_name;
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_PUBLIC_COMMON_MANIFEST_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/common/manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698