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

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

Issue 2064943002: Pass in extra parameters to WebApkBuilder#buildWebApkAsync() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into webapk_manifest Created 4 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 CONTENT_PUBLIC_COMMON_MANIFEST_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_MANIFEST_H_
6 #define CONTENT_PUBLIC_COMMON_MANIFEST_H_ 6 #define CONTENT_PUBLIC_COMMON_MANIFEST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 }; 66 };
67 67
68 Manifest(); 68 Manifest();
69 Manifest(const Manifest& other); 69 Manifest(const Manifest& other);
70 ~Manifest(); 70 ~Manifest();
71 71
72 // Returns whether this Manifest had no attribute set. A newly created 72 // Returns whether this Manifest had no attribute set. A newly created
73 // Manifest is always empty. 73 // Manifest is always empty.
74 bool IsEmpty() const; 74 bool IsEmpty() const;
75 75
76 // The URL of the manifest file. Null if the parsing failed.
mlamouri (slow - plz ping) 2016/06/27 12:52:33 Null if the parsing failed?
77 GURL url;
78
76 // Null if the parsing failed or the field was not present. 79 // Null if the parsing failed or the field was not present.
77 base::NullableString16 name; 80 base::NullableString16 name;
78 81
79 // Null if the parsing failed or the field was not present. 82 // Null if the parsing failed or the field was not present.
80 base::NullableString16 short_name; 83 base::NullableString16 short_name;
81 84
82 // Empty if the parsing failed or the field was not present. 85 // Empty if the parsing failed or the field was not present.
83 GURL start_url; 86 GURL start_url;
84 87
85 // Set to WebDisplayModeUndefined if the parsing failed or the field was not 88 // Set to WebDisplayModeUndefined if the parsing failed or the field was not
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 static const size_t kMaxIPCStringLength; 132 static const size_t kMaxIPCStringLength;
130 133
131 // Constant representing an invalid color. Set to a value outside the 134 // Constant representing an invalid color. Set to a value outside the
132 // range of a 32-bit integer. 135 // range of a 32-bit integer.
133 static const int64_t kInvalidOrMissingColor; 136 static const int64_t kInvalidOrMissingColor;
134 }; 137 };
135 138
136 } // namespace content 139 } // namespace content
137 140
138 #endif // CONTENT_PUBLIC_COMMON_MANIFEST_H_ 141 #endif // CONTENT_PUBLIC_COMMON_MANIFEST_H_
OLDNEW
« no previous file with comments | « content/common/manifest_manager_messages.h ('k') | content/renderer/manifest/manifest_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698