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

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

Issue 6966016: Handle <link rel=prerender> in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tone down the over-aggressive search and replace... Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/common_param_traits.h" 5 #include "content/common/common_param_traits.h"
6 6
7 #include "content/common/content_constants.h" 7 #include "content/common/content_constants.h"
8 #include "net/base/host_port_pair.h" 8 #include "net/base/host_port_pair.h"
9 #include "net/base/upload_data.h" 9 #include "net/base/upload_data.h"
10 #include "net/http/http_response_headers.h" 10 #include "net/http/http_response_headers.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 break; 114 break;
115 case ResourceType::WORKER: 115 case ResourceType::WORKER:
116 type = "WORKER"; 116 type = "WORKER";
117 break; 117 break;
118 case ResourceType::SHARED_WORKER: 118 case ResourceType::SHARED_WORKER:
119 type = "SHARED_WORKER"; 119 type = "SHARED_WORKER";
120 break; 120 break;
121 case ResourceType::PREFETCH: 121 case ResourceType::PREFETCH:
122 type = "PREFETCH"; 122 type = "PREFETCH";
123 break; 123 break;
124 case ResourceType::PRERENDER:
125 type = "PRERENDER";
126 break;
124 case ResourceType::FAVICON: 127 case ResourceType::FAVICON:
125 type = "FAVICON"; 128 type = "FAVICON";
126 break; 129 break;
127 default: 130 default:
128 type = "UNKNOWN"; 131 type = "UNKNOWN";
129 break; 132 break;
130 } 133 }
131 134
132 LogParam(type, l); 135 LogParam(type, l);
133 } 136 }
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 const SkBitmap_Data* bmp_data = 556 const SkBitmap_Data* bmp_data =
554 reinterpret_cast<const SkBitmap_Data*>(fixed_data); 557 reinterpret_cast<const SkBitmap_Data*>(fixed_data);
555 return bmp_data->InitSkBitmapFromData(r, variable_data, variable_data_size); 558 return bmp_data->InitSkBitmapFromData(r, variable_data, variable_data_size);
556 } 559 }
557 560
558 void ParamTraits<SkBitmap>::Log(const SkBitmap& p, std::string* l) { 561 void ParamTraits<SkBitmap>::Log(const SkBitmap& p, std::string* l) {
559 l->append("<SkBitmap>"); 562 l->append("<SkBitmap>");
560 } 563 }
561 564
562 } // namespace IPC 565 } // namespace IPC
OLDNEW
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host.cc ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698