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

Side by Side Diff: content/common/resource_messages.cc

Issue 20003004: reland crrev.com/212927 Move webkitplatformsupport_impl and related from glue to child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & allocator dep for components_unittests in shared_library2 Created 7 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 #include "content/common/resource_messages.h" 5 #include "content/common/resource_messages.h"
6 6
7 #include "net/base/load_timing_info.h" 7 #include "net/base/load_timing_info.h"
8 #include "net/http/http_response_headers.h" 8 #include "net/http/http_response_headers.h"
9 #include "webkit/glue/resource_loader_bridge.h"
10 9
11 namespace IPC { 10 namespace IPC {
12 11
13 void ParamTraits<scoped_refptr<net::HttpResponseHeaders> >::Write( 12 void ParamTraits<scoped_refptr<net::HttpResponseHeaders> >::Write(
14 Message* m, const param_type& p) { 13 Message* m, const param_type& p) {
15 WriteParam(m, p.get() != NULL); 14 WriteParam(m, p.get() != NULL);
16 if (p.get()) { 15 if (p.get()) {
17 // Do not disclose Set-Cookie headers over IPC. 16 // Do not disclose Set-Cookie headers over IPC.
18 p->Persist(m, net::HttpResponseHeaders::PERSIST_SANS_COOKIES); 17 p->Persist(m, net::HttpResponseHeaders::PERSIST_SANS_COOKIES);
19 } 18 }
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 (*r)->set_identifier(identifier); 289 (*r)->set_identifier(identifier);
291 return true; 290 return true;
292 } 291 }
293 292
294 void ParamTraits<scoped_refptr<webkit_glue::ResourceRequestBody> >::Log( 293 void ParamTraits<scoped_refptr<webkit_glue::ResourceRequestBody> >::Log(
295 const param_type& p, std::string* l) { 294 const param_type& p, std::string* l) {
296 l->append("<webkit_glue::ResourceRequestBody>"); 295 l->append("<webkit_glue::ResourceRequestBody>");
297 } 296 }
298 297
299 } // namespace IPC 298 } // namespace IPC
OLDNEW
« no previous file with comments | « content/common/content_param_traits_macros.h ('k') | content/common/socket_stream_handle_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698