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

Side by Side Diff: third_party/WebKit/public/platform/WebFeaturePolicy.h

Issue 2520223002: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… (Closed)
Patch Set: Created 4 years 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
(Empty)
1 // Copyright 2016 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 WebFeaturePolicy_h
6 #define WebFeaturePolicy_h
7
8 #include "WebString.h"
9 #include "WebVector.h"
10
11 namespace blink {
12
13 struct WebFeaturePolicy {
raymes 2016/11/22 05:16:33 When we make the FeaturePolicy class publicly avai
raymes 2016/11/22 05:17:12 On 2016/11/22 05:16:33, raymes wrote: > When we ma
iclelland 2016/11/22 21:02:05 I was working on that, which probably overlapped a
iclelland 2016/11/23 20:20:28 But we probably can't use that in the browser proc
14 struct ParsedWhitelist {
15 ParsedWhitelist() : matchesAllOrigins(false) {}
16 WebString featureName;
17 bool matchesAllOrigins;
18 WebVector<WebString> origins;
19 };
20 };
21
22 } // namespace blink
23
24 #endif // WebFeaturePolicy_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698