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

Unified Diff: chrome/common/common_param_traits.h

Issue 6628035: Move resource related IPCs to their own file in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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 | « chrome/chrome_common.gypi ('k') | chrome/common/common_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/common_param_traits.h
===================================================================
--- chrome/common/common_param_traits.h (revision 77019)
+++ chrome/common/common_param_traits.h (working copy)
@@ -19,7 +19,6 @@
#include "chrome/common/content_settings.h"
#include "chrome/common/page_zoom.h"
#include "ipc/ipc_message_utils.h"
-#include "net/url_request/url_request_status.h"
#include "printing/native_metafile.h"
// !!! WARNING: DO NOT ADD NEW WEBKIT DEPENDENCIES !!!
//
@@ -27,7 +26,7 @@
// 'third_party/WebKit/'. Chrome Frame and NACL build parts of base/ and
// chrome/common/ for a mini-library that doesn't depend on webkit.
//
-// TODO(erg): The following two headers are historical and only work because
+// TODO(erg): The following headers are historical and only work because
// their definitions are inlined, which also needs to be fixed.
#include "ui/gfx/native_widget_types.h"
#include "webkit/glue/webcursor.h"
@@ -48,12 +47,6 @@
class Size;
} // namespace gfx
-namespace net {
-class HostPortPair;
-class UploadData;
-class URLRequestStatus;
-}
-
namespace printing {
struct PageRange;
struct PrinterCapsAndDefaults;
@@ -253,34 +246,7 @@
};
#endif
-// Traits for HostPortPair
template<>
-struct ParamTraits<net::HostPortPair> {
- typedef net::HostPortPair param_type;
- static void Write(Message* m, const param_type& p);
- static bool Read(const Message* m, void** iter, param_type* r);
- static void Log(const param_type& p, std::string* l);
-};
-
-// Traits for URLRequestStatus
-template <>
-struct ParamTraits<net::URLRequestStatus> {
- typedef net::URLRequestStatus param_type;
- static void Write(Message* m, const param_type& p);
- static bool Read(const Message* m, void** iter, param_type* r);
- static void Log(const param_type& p, std::string* l);
-};
-
-// Traits for net::UploadData.
-template <>
-struct ParamTraits<scoped_refptr<net::UploadData> > {
- typedef scoped_refptr<net::UploadData> param_type;
- static void Write(Message* m, const param_type& p);
- static bool Read(const Message* m, void** iter, param_type* r);
- static void Log(const param_type& p, std::string* l);
-};
-
-template<>
struct ParamTraits<ThumbnailScore> {
typedef ThumbnailScore param_type;
static void Write(Message* m, const param_type& p);
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/common_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698