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

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

Issue 2727803004: Replace string by enum in WebParsedFeaturePolicyDeclaration#feature (Closed)
Patch Set: Codereview: nit -- add comments to introduce features 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) 408 IPC_STRUCT_TRAITS_MEMBER(navigation_timing)
409 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) 409 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id)
410 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id) 410 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id)
411 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 411 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
412 #if defined(OS_ANDROID) 412 #if defined(OS_ANDROID)
413 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) 413 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string)
414 #endif 414 #endif
415 IPC_STRUCT_TRAITS_END() 415 IPC_STRUCT_TRAITS_END()
416 416
417 IPC_STRUCT_TRAITS_BEGIN(content::ParsedFeaturePolicyDeclaration) 417 IPC_STRUCT_TRAITS_BEGIN(content::ParsedFeaturePolicyDeclaration)
418 IPC_STRUCT_TRAITS_MEMBER(feature_name) 418 IPC_STRUCT_TRAITS_MEMBER(feature)
419 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins) 419 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins)
420 IPC_STRUCT_TRAITS_MEMBER(origins) 420 IPC_STRUCT_TRAITS_MEMBER(origins)
421 IPC_STRUCT_TRAITS_END() 421 IPC_STRUCT_TRAITS_END()
422 422
423 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) 423 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState)
424 IPC_STRUCT_TRAITS_MEMBER(origin) 424 IPC_STRUCT_TRAITS_MEMBER(origin)
425 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) 425 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags)
426 IPC_STRUCT_TRAITS_MEMBER(name) 426 IPC_STRUCT_TRAITS_MEMBER(name)
427 IPC_STRUCT_TRAITS_MEMBER(unique_name) 427 IPC_STRUCT_TRAITS_MEMBER(unique_name)
428 IPC_STRUCT_TRAITS_MEMBER(feature_policy_header) 428 IPC_STRUCT_TRAITS_MEMBER(feature_policy_header)
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1639 int /* nfr_request_id */, 1639 int /* nfr_request_id */,
1640 float /* distance */) 1640 float /* distance */)
1641 1641
1642 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) 1642 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder)
1643 #endif 1643 #endif
1644 1644
1645 // Adding a new message? Stick to the sort order above: first platform 1645 // Adding a new message? Stick to the sort order above: first platform
1646 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1646 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1647 // platform independent FrameHostMsg, then ifdefs for platform specific 1647 // platform independent FrameHostMsg, then ifdefs for platform specific
1648 // FrameHostMsg. 1648 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698