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

Side by Side Diff: remoting/host/chromoting_param_traits.cc

Issue 16181013: Use a direct include of strings headers in remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « remoting/client/plugin/pepper_view.cc ('k') | remoting/host/clipboard_win.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "remoting/host/chromoting_param_traits.h" 5 #include "remoting/host/chromoting_param_traits.h"
6 6
7 #include "base/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 8
9 namespace IPC { 9 namespace IPC {
10 10
11 // static 11 // static
12 void ParamTraits<webrtc::DesktopVector>::Write(Message* m, 12 void ParamTraits<webrtc::DesktopVector>::Write(Message* m,
13 const webrtc::DesktopVector& p) { 13 const webrtc::DesktopVector& p) {
14 m->WriteInt(p.x()); 14 m->WriteInt(p.x());
15 m->WriteInt(p.y()); 15 m->WriteInt(p.y());
16 } 16 }
17 17
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 void ParamTraits<remoting::ScreenResolution>::Log( 118 void ParamTraits<remoting::ScreenResolution>::Log(
119 const remoting::ScreenResolution& p, 119 const remoting::ScreenResolution& p,
120 std::string* l) { 120 std::string* l) {
121 l->append(base::StringPrintf("webrtc::ScreenResolution(%d, %d, %d, %d)", 121 l->append(base::StringPrintf("webrtc::ScreenResolution(%d, %d, %d, %d)",
122 p.dimensions().width(), p.dimensions().height(), 122 p.dimensions().width(), p.dimensions().height(),
123 p.dpi().x(), p.dpi().y())); 123 p.dpi().x(), p.dpi().y()));
124 } 124 }
125 125
126 } // namespace IPC 126 } // namespace IPC
127 127
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_view.cc ('k') | remoting/host/clipboard_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698