| OLD | NEW |
| 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/public/common/common_param_traits.h" | 5 #include "content/public/common/common_param_traits.h" |
| 6 | 6 |
| 7 #include "content/common/content_constants.h" | 7 #include "content/public/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" |
| 11 #include "third_party/skia/include/core/SkBitmap.h" | 11 #include "third_party/skia/include/core/SkBitmap.h" |
| 12 #include "ui/base/range/range.h" | 12 #include "ui/base/range/range.h" |
| 13 #include "ui/gfx/rect.h" | 13 #include "ui/gfx/rect.h" |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 struct SkBitmap_Data { | 17 struct SkBitmap_Data { |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 const SkBitmap_Data* bmp_data = | 558 const SkBitmap_Data* bmp_data = |
| 559 reinterpret_cast<const SkBitmap_Data*>(fixed_data); | 559 reinterpret_cast<const SkBitmap_Data*>(fixed_data); |
| 560 return bmp_data->InitSkBitmapFromData(r, variable_data, variable_data_size); | 560 return bmp_data->InitSkBitmapFromData(r, variable_data, variable_data_size); |
| 561 } | 561 } |
| 562 | 562 |
| 563 void ParamTraits<SkBitmap>::Log(const SkBitmap& p, std::string* l) { | 563 void ParamTraits<SkBitmap>::Log(const SkBitmap& p, std::string* l) { |
| 564 l->append("<SkBitmap>"); | 564 l->append("<SkBitmap>"); |
| 565 } | 565 } |
| 566 | 566 |
| 567 } // namespace IPC | 567 } // namespace IPC |
| OLD | NEW |