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

Side by Side Diff: remoting/client/chromoting_view.cc

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/client/chromoting_view.h" 5 #include "remoting/client/chromoting_view.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/waitable_event.h" 8 #include "base/synchronization/waitable_event.h"
9 #include "remoting/base/tracer.h" 9 #include "remoting/base/tracer.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 ChromotingView::ChromotingView() 13 ChromotingView::ChromotingView()
14 : frame_width_(0), 14 : frame_width_(0),
15 frame_height_(0) { 15 frame_height_(0) {
16 } 16 }
17 17
18 ChromotingView::~ChromotingView() {} 18 ChromotingView::~ChromotingView() {}
19 19
20 // TODO(garykac): This assumes a single screen. This will need to be adjusted 20 // TODO(garykac): This assumes a single screen. This will need to be adjusted
21 // to add support for mulitple monitors. 21 // to add support for mulitple monitors.
22 void ChromotingView::GetScreenSize(int* width, int* height) { 22 void ChromotingView::GetScreenSize(int* width, int* height) {
23 *width = frame_width_; 23 *width = frame_width_;
24 *height = frame_height_; 24 *height = frame_height_;
25 } 25 }
26 26
27 } // namespace remoting 27 } // namespace remoting
OLDNEW
« no previous file with comments | « net/proxy/sync_host_resolver_bridge_unittest.cc ('k') | remoting/jingle_glue/jingle_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698