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

Side by Side Diff: content/common/frame_messages.h

Issue 2727803004: Replace string by enum in WebParsedFeaturePolicyDeclaration#feature (Closed)
Patch Set: Filter out unrecognized features in parseFeaturePolicy (earlier) instead of setHeaderPolicy Created 3 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) 397 IPC_STRUCT_TRAITS_MEMBER(navigation_timing)
398 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) 398 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id)
399 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id) 399 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id)
400 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 400 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
401 #if defined(OS_ANDROID) 401 #if defined(OS_ANDROID)
402 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) 402 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string)
403 #endif 403 #endif
404 IPC_STRUCT_TRAITS_END() 404 IPC_STRUCT_TRAITS_END()
405 405
406 IPC_STRUCT_TRAITS_BEGIN(content::ParsedFeaturePolicyDeclaration) 406 IPC_STRUCT_TRAITS_BEGIN(content::ParsedFeaturePolicyDeclaration)
407 IPC_STRUCT_TRAITS_MEMBER(feature_name) 407 IPC_STRUCT_TRAITS_MEMBER(feature)
408 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins) 408 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins)
409 IPC_STRUCT_TRAITS_MEMBER(origins) 409 IPC_STRUCT_TRAITS_MEMBER(origins)
410 IPC_STRUCT_TRAITS_END() 410 IPC_STRUCT_TRAITS_END()
411 411
412 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) 412 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState)
413 IPC_STRUCT_TRAITS_MEMBER(origin) 413 IPC_STRUCT_TRAITS_MEMBER(origin)
414 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) 414 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags)
415 IPC_STRUCT_TRAITS_MEMBER(name) 415 IPC_STRUCT_TRAITS_MEMBER(name)
416 IPC_STRUCT_TRAITS_MEMBER(unique_name) 416 IPC_STRUCT_TRAITS_MEMBER(unique_name)
417 IPC_STRUCT_TRAITS_MEMBER(feature_policy_header) 417 IPC_STRUCT_TRAITS_MEMBER(feature_policy_header)
(...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 // nearest find result in the sending frame. 1613 // nearest find result in the sending frame.
1614 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1614 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1615 int /* nfr_request_id */, 1615 int /* nfr_request_id */,
1616 float /* distance */) 1616 float /* distance */)
1617 #endif 1617 #endif
1618 1618
1619 // Adding a new message? Stick to the sort order above: first platform 1619 // Adding a new message? Stick to the sort order above: first platform
1620 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1620 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1621 // platform independent FrameHostMsg, then ifdefs for platform specific 1621 // platform independent FrameHostMsg, then ifdefs for platform specific
1622 // FrameHostMsg. 1622 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698