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

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

Issue 8368004: Move common_param_traits and webkit_param_traits to content/public/common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/public/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"
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 {
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits.h ('k') | content/public/common/webkit_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698