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

Unified Diff: chrome/common/common_param_traits_macros.h

Issue 10577040: Generate param traits even when shared by mutliple message files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/common_param_traits_macros.h
===================================================================
--- chrome/common/common_param_traits_macros.h (revision 0)
+++ chrome/common/common_param_traits_macros.h (revision 0)
@@ -0,0 +1,16 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Singly or multiply-included shared traits file depending upon circumstances.
jam 2012/06/25 19:52:24 ditto re comment, please explain that this file al
Tom Sepez 2012/06/25 20:30:24 Done.
+// Hence provide an include guard symbol but no pragma once.
+#ifndef CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
+#define CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
+
+#include "chrome/common/content_settings.h"
+#include "ipc/ipc_message_macros.h"
+
+IPC_ENUM_TRAITS(ContentSetting)
+IPC_ENUM_TRAITS(ContentSettingsType)
+
+#endif // CHROME_COMMON_COMMON_PARAM_TRAITS_MACROS_H_
Property changes on: chrome/common/common_param_traits_macros.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698