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

Unified Diff: content/public/common/common_param_traits.h

Issue 12035027: Revert 178037 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « content/common/content_message_generator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/common_param_traits.h
===================================================================
--- content/public/common/common_param_traits.h (revision 178042)
+++ content/public/common/common_param_traits.h (working copy)
@@ -182,25 +182,8 @@
l->append(")");
}
};
+#endif
-#if defined(USE_AURA)
-template <>
-struct ParamTraits<HWND> {
- typedef HWND param_type;
- static void Write(Message* m, const param_type& p) {
- m->WriteUInt32(reinterpret_cast<uint32>(p));
- }
- static bool Read(const Message* m, PickleIterator* iter, param_type* r) {
- DCHECK_EQ(sizeof(param_type), sizeof(uint32));
- return m->ReadUInt32(iter, reinterpret_cast<uint32*>(r));
- }
- static void Log(const param_type& p, std::string* l) {
- l->append("<HWND>");
- }
-};
-#endif // defined(USE_AURA)
-#endif // defined(OS_WIN)
-
#if defined(USE_X11)
template<>
struct ParamTraits<TransportDIB::Id> {
« no previous file with comments | « content/common/content_message_generator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698