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

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

Issue 1947263004: Introduces a new MHTML generation parameter specifying different behvaior for cache-control headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase onto origin/master. Created 4 years, 7 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/public/browser/web_contents.h ('k') | content/public/common/mhtml_generation_params.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Singly or Multiply-included shared traits file depending on circumstances. 5 // Singly or Multiply-included shared traits file depending on circumstances.
6 // This allows the use of IPC serialization macros in more than one IPC message 6 // This allows the use of IPC serialization macros in more than one IPC message
7 // file. 7 // file.
8 #ifndef CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 8 #ifndef CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
9 #define CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 9 #define CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
10 10
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "content/public/common/console_message_level.h" 12 #include "content/public/common/console_message_level.h"
13 #include "content/public/common/mhtml_generation_params.h"
13 #include "content/public/common/referrer.h" 14 #include "content/public/common/referrer.h"
14 #include "content/public/common/security_style.h" 15 #include "content/public/common/security_style.h"
15 #include "content/public/common/ssl_status.h" 16 #include "content/public/common/ssl_status.h"
16 #include "content/public/common/web_preferences.h" 17 #include "content/public/common/web_preferences.h"
17 #include "content/public/common/webplugininfo.h" 18 #include "content/public/common/webplugininfo.h"
18 #include "ipc/ipc_message_macros.h" 19 #include "ipc/ipc_message_macros.h"
19 #include "net/base/network_change_notifier.h" 20 #include "net/base/network_change_notifier.h"
20 #include "net/base/request_priority.h" 21 #include "net/base/request_priority.h"
21 #include "third_party/WebKit/public/platform/WebPoint.h" 22 #include "third_party/WebKit/public/platform/WebPoint.h"
22 #include "third_party/WebKit/public/platform/WebRect.h" 23 #include "third_party/WebKit/public/platform/WebRect.h"
(...skipping 13 matching lines...) Expand all
36 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 37 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
37 38
38 IPC_ENUM_TRAITS_VALIDATE(ui::PageTransition, 39 IPC_ENUM_TRAITS_VALIDATE(ui::PageTransition,
39 ((value & 40 ((value &
40 ui::PageTransition::PAGE_TRANSITION_CORE_MASK) <= 41 ui::PageTransition::PAGE_TRANSITION_CORE_MASK) <=
41 ui::PageTransition::PAGE_TRANSITION_LAST_CORE)) 42 ui::PageTransition::PAGE_TRANSITION_LAST_CORE))
42 IPC_ENUM_TRAITS_MAX_VALUE(net::NetworkChangeNotifier::ConnectionType, 43 IPC_ENUM_TRAITS_MAX_VALUE(net::NetworkChangeNotifier::ConnectionType,
43 net::NetworkChangeNotifier::CONNECTION_LAST) 44 net::NetworkChangeNotifier::CONNECTION_LAST)
44 IPC_ENUM_TRAITS_MAX_VALUE(content::ConsoleMessageLevel, 45 IPC_ENUM_TRAITS_MAX_VALUE(content::ConsoleMessageLevel,
45 content::CONSOLE_MESSAGE_LEVEL_LAST) 46 content::CONSOLE_MESSAGE_LEVEL_LAST)
47 IPC_ENUM_TRAITS_MAX_VALUE(content::MHTMLCacheControlPolicy,
48 content::MHTMLCacheControlPolicy::LAST)
46 IPC_ENUM_TRAITS_MAX_VALUE(content::SecurityStyle, 49 IPC_ENUM_TRAITS_MAX_VALUE(content::SecurityStyle,
47 content::SECURITY_STYLE_LAST) 50 content::SECURITY_STYLE_LAST)
48 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebReferrerPolicy, 51 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebReferrerPolicy,
49 blink::WebReferrerPolicyLast) 52 blink::WebReferrerPolicyLast)
50 IPC_ENUM_TRAITS_MAX_VALUE(blink::mojom::PermissionStatus, 53 IPC_ENUM_TRAITS_MAX_VALUE(blink::mojom::PermissionStatus,
51 blink::mojom::PermissionStatus::LAST) 54 blink::mojom::PermissionStatus::LAST)
52 IPC_ENUM_TRAITS_MAX_VALUE(content::EditingBehavior, 55 IPC_ENUM_TRAITS_MAX_VALUE(content::EditingBehavior,
53 content::EDITING_BEHAVIOR_LAST) 56 content::EDITING_BEHAVIOR_LAST)
54 IPC_ENUM_TRAITS_MAX_VALUE(WindowOpenDisposition, 57 IPC_ENUM_TRAITS_MAX_VALUE(WindowOpenDisposition,
55 WINDOW_OPEN_DISPOSITION_LAST) 58 WINDOW_OPEN_DISPOSITION_LAST)
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEvent, ui::AX_EVENT_LAST) 265 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEvent, ui::AX_EVENT_LAST)
263 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXRole, ui::AX_ROLE_LAST) 266 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXRole, ui::AX_ROLE_LAST)
264 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXBoolAttribute, ui::AX_BOOL_ATTRIBUTE_LAST) 267 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXBoolAttribute, ui::AX_BOOL_ATTRIBUTE_LAST)
265 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXFloatAttribute, ui::AX_FLOAT_ATTRIBUTE_LAST) 268 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXFloatAttribute, ui::AX_FLOAT_ATTRIBUTE_LAST)
266 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntAttribute, ui::AX_INT_ATTRIBUTE_LAST) 269 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntAttribute, ui::AX_INT_ATTRIBUTE_LAST)
267 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntListAttribute, 270 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntListAttribute,
268 ui::AX_INT_LIST_ATTRIBUTE_LAST) 271 ui::AX_INT_LIST_ATTRIBUTE_LAST)
269 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXStringAttribute, ui::AX_STRING_ATTRIBUTE_LAST) 272 IPC_ENUM_TRAITS_MAX_VALUE(ui::AXStringAttribute, ui::AX_STRING_ATTRIBUTE_LAST)
270 273
271 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 274 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents.h ('k') | content/public/common/mhtml_generation_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698