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

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

Issue 14081010: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some gtk issues Created 7 years, 8 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
« no previous file with comments | « content/common/npobject_proxy.cc ('k') | content/common/sandbox_mac_fontloading_unittest.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" 9 #include "webkit/glue/resource_loader_bridge.h"
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 131 }
132 132
133 void ParamTraits<webkit_base::DataElement>::Log( 133 void ParamTraits<webkit_base::DataElement>::Log(
134 const param_type& p, std::string* l) { 134 const param_type& p, std::string* l) {
135 l->append("<webkit_base::DataElement>"); 135 l->append("<webkit_base::DataElement>");
136 } 136 }
137 137
138 void ParamTraits<scoped_refptr<webkit_glue::ResourceDevToolsInfo> >::Write( 138 void ParamTraits<scoped_refptr<webkit_glue::ResourceDevToolsInfo> >::Write(
139 Message* m, const param_type& p) { 139 Message* m, const param_type& p) {
140 WriteParam(m, p.get() != NULL); 140 WriteParam(m, p.get() != NULL);
141 if (p.get()) { 141 if (p) {
142 WriteParam(m, p->http_status_code); 142 WriteParam(m, p->http_status_code);
143 WriteParam(m, p->http_status_text); 143 WriteParam(m, p->http_status_text);
144 WriteParam(m, p->request_headers); 144 WriteParam(m, p->request_headers);
145 WriteParam(m, p->response_headers); 145 WriteParam(m, p->response_headers);
146 WriteParam(m, p->request_headers_text); 146 WriteParam(m, p->request_headers_text);
147 WriteParam(m, p->response_headers_text); 147 WriteParam(m, p->response_headers_text);
148 } 148 }
149 } 149 }
150 150
151 bool ParamTraits<scoped_refptr<webkit_glue::ResourceDevToolsInfo> >::Read( 151 bool ParamTraits<scoped_refptr<webkit_glue::ResourceDevToolsInfo> >::Read(
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 (*r)->set_identifier(identifier); 290 (*r)->set_identifier(identifier);
291 return true; 291 return true;
292 } 292 }
293 293
294 void ParamTraits<scoped_refptr<webkit_glue::ResourceRequestBody> >::Log( 294 void ParamTraits<scoped_refptr<webkit_glue::ResourceRequestBody> >::Log(
295 const param_type& p, std::string* l) { 295 const param_type& p, std::string* l) {
296 l->append("<webkit_glue::ResourceRequestBody>"); 296 l->append("<webkit_glue::ResourceRequestBody>");
297 } 297 }
298 298
299 } // namespace IPC 299 } // namespace IPC
OLDNEW
« no previous file with comments | « content/common/npobject_proxy.cc ('k') | content/common/sandbox_mac_fontloading_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698