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

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

Issue 580513002: Add support for gcm_sender_id in Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@manifest_start_url
Patch Set: Created 6 years, 2 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/common/manifest_manager_messages.h ('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
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 <vector> 8 #include <vector>
9 9
10 #include "base/strings/nullable_string16.h" 10 #include "base/strings/nullable_string16.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 DisplayMode display; 75 DisplayMode display;
76 76
77 // Set to blink::WebScreenOrientationLockDefault if the parsing failed or the 77 // Set to blink::WebScreenOrientationLockDefault if the parsing failed or the
78 // field was not present. 78 // field was not present.
79 blink::WebScreenOrientationLockType orientation; 79 blink::WebScreenOrientationLockType orientation;
80 80
81 // Empty if the parsing failed, the field was not present, empty or all the 81 // Empty if the parsing failed, the field was not present, empty or all the
82 // icons inside the JSON array were invalid. 82 // icons inside the JSON array were invalid.
83 std::vector<Icon> icons; 83 std::vector<Icon> icons;
84 84
85 // This is a proprietary extension of the web Manifest, double-check that it
86 // is okay to use this entry.
87 // Null if parsing failed or the field was not present.
88 base::NullableString16 gcm_sender_id;
89
85 // Maximum length for all the strings inside the Manifest when it is sent over 90 // Maximum length for all the strings inside the Manifest when it is sent over
86 // IPC. The renderer process should truncate the strings before sending the 91 // IPC. The renderer process should truncate the strings before sending the
87 // Manifest and the browser process must do the same when receiving it. 92 // Manifest and the browser process must do the same when receiving it.
88 static const size_t kMaxIPCStringLength; 93 static const size_t kMaxIPCStringLength;
89 }; 94 };
90 95
91 } // namespace content 96 } // namespace content
92 97
93 #endif // CONTENT_PUBLIC_COMMON_MANIFEST_H_ 98 #endif // CONTENT_PUBLIC_COMMON_MANIFEST_H_
OLDNEW
« no previous file with comments | « content/common/manifest_manager_messages.h ('k') | content/public/common/manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698