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

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

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « remoting/host/chromoting_messages.h ('k') | remoting/host/client_session.h » ('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 <stdint.h>
8
7 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
8 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" 10 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
9 11
10 namespace IPC { 12 namespace IPC {
11 13
12 // static 14 // static
13 void ParamTraits<webrtc::DesktopVector>::Write(Message* m, 15 void ParamTraits<webrtc::DesktopVector>::Write(Message* m,
14 const webrtc::DesktopVector& p) { 16 const webrtc::DesktopVector& p) {
15 m->WriteInt(p.x()); 17 m->WriteInt(p.x());
16 m->WriteInt(p.y()); 18 m->WriteInt(p.y());
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 void ParamTraits<remoting::ScreenResolution>::Log( 184 void ParamTraits<remoting::ScreenResolution>::Log(
183 const remoting::ScreenResolution& p, 185 const remoting::ScreenResolution& p,
184 std::string* l) { 186 std::string* l) {
185 l->append(base::StringPrintf("webrtc::ScreenResolution(%d, %d, %d, %d)", 187 l->append(base::StringPrintf("webrtc::ScreenResolution(%d, %d, %d, %d)",
186 p.dimensions().width(), p.dimensions().height(), 188 p.dimensions().width(), p.dimensions().height(),
187 p.dpi().x(), p.dpi().y())); 189 p.dpi().x(), p.dpi().y()));
188 } 190 }
189 191
190 } // namespace IPC 192 } // namespace IPC
191 193
OLDNEW
« no previous file with comments | « remoting/host/chromoting_messages.h ('k') | remoting/host/client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698