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

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

Issue 2727803004: Replace string by enum in WebParsedFeaturePolicyDeclaration#feature (Closed)
Patch Set: Set upstream 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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) 395 IPC_STRUCT_TRAITS_MEMBER(navigation_timing)
396 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) 396 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id)
397 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id) 397 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id)
398 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 398 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
399 #if defined(OS_ANDROID) 399 #if defined(OS_ANDROID)
400 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) 400 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string)
401 #endif 401 #endif
402 IPC_STRUCT_TRAITS_END() 402 IPC_STRUCT_TRAITS_END()
403 403
404 IPC_STRUCT_TRAITS_BEGIN(content::ParsedFeaturePolicyDeclaration) 404 IPC_STRUCT_TRAITS_BEGIN(content::ParsedFeaturePolicyDeclaration)
405 IPC_STRUCT_TRAITS_MEMBER(feature_name) 405 IPC_STRUCT_TRAITS_MEMBER(feature)
406 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins) 406 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins)
407 IPC_STRUCT_TRAITS_MEMBER(origins) 407 IPC_STRUCT_TRAITS_MEMBER(origins)
408 IPC_STRUCT_TRAITS_END() 408 IPC_STRUCT_TRAITS_END()
409 409
410 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) 410 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState)
411 IPC_STRUCT_TRAITS_MEMBER(origin) 411 IPC_STRUCT_TRAITS_MEMBER(origin)
412 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) 412 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags)
413 IPC_STRUCT_TRAITS_MEMBER(name) 413 IPC_STRUCT_TRAITS_MEMBER(name)
414 IPC_STRUCT_TRAITS_MEMBER(unique_name) 414 IPC_STRUCT_TRAITS_MEMBER(unique_name)
415 IPC_STRUCT_TRAITS_MEMBER(feature_policy_header) 415 IPC_STRUCT_TRAITS_MEMBER(feature_policy_header)
(...skipping 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1611 // nearest find result in the sending frame. 1611 // nearest find result in the sending frame.
1612 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1612 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1613 int /* nfr_request_id */, 1613 int /* nfr_request_id */,
1614 float /* distance */) 1614 float /* distance */)
1615 #endif 1615 #endif
1616 1616
1617 // Adding a new message? Stick to the sort order above: first platform 1617 // Adding a new message? Stick to the sort order above: first platform
1618 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1618 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1619 // platform independent FrameHostMsg, then ifdefs for platform specific 1619 // platform independent FrameHostMsg, then ifdefs for platform specific
1620 // FrameHostMsg. 1620 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698