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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
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. Hence, provide include guard but no pragma once. 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 "content/public/common/console_message_level.h" 11 #include "content/public/common/console_message_level.h"
12 #include "content/public/common/page_transition_types.h" 12 #include "content/public/common/page_transition_types.h"
13 #include "content/public/common/security_style.h" 13 #include "content/public/common/security_style.h"
14 #include "ipc/ipc_message_macros.h" 14 #include "ipc/ipc_message_macros.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h " 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h "
16 #include "webkit/glue/resource_type.h" 16 #include "webkit/glue/resource_type.h"
17 17
18 #undef IPC_MESSAGE_EXPORT 18 #undef IPC_MESSAGE_EXPORT
19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
20 20
21 IPC_ENUM_TRAITS(content::ConsoleMessageLevel) 21 IPC_ENUM_TRAITS(content::ConsoleMessageLevel)
22 IPC_ENUM_TRAITS(content::PageTransition) 22 IPC_ENUM_TRAITS(content::PageTransition)
23 IPC_ENUM_TRAITS(content::SecurityStyle) 23 IPC_ENUM_TRAITS(content::SecurityStyle)
24 IPC_ENUM_TRAITS(ResourceType::Type) 24 IPC_ENUM_TRAITS(ResourceType::Type)
25 IPC_ENUM_TRAITS(WebKit::WebReferrerPolicy) 25 IPC_ENUM_TRAITS(WebKit::WebReferrerPolicy)
26 26
27 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ 27 #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits.h ('k') | content/public/common/console_message_level.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698