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

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

Issue 4562002: Add DEPS files in remoting subdirectories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month 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/DEPS ('k') | remoting/host/DEPS » ('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 (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 // This file implements a simple X11 chromoting client. 5 // This file implements a simple X11 chromoting client.
6 6
7 #include <iostream> 7 #include <iostream>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/message_loop.h"
10 #include "remoting/client/chromoting_client.h" 11 #include "remoting/client/chromoting_client.h"
11 #include "remoting/client/client_config.h" 12 #include "remoting/client/client_config.h"
12 #include "remoting/client/client_util.h" 13 #include "remoting/client/client_util.h"
13 #include "remoting/client/rectangle_update_decoder.h" 14 #include "remoting/client/rectangle_update_decoder.h"
14 #include "remoting/client/x11_view.h" 15 #include "remoting/client/x11_view.h"
15 #include "remoting/client/x11_input_handler.h" 16 #include "remoting/client/x11_input_handler.h"
16 #include "remoting/protocol/jingle_connection_to_host.h" 17 #include "remoting/protocol/jingle_connection_to_host.h"
17 18
18 void ClientQuit(MessageLoop* loop) { 19 void ClientQuit(MessageLoop* loop) {
19 loop->PostTask(FROM_HERE, new MessageLoop::QuitTask()); 20 loop->PostTask(FROM_HERE, new MessageLoop::QuitTask());
(...skipping 22 matching lines...) Expand all
42 // Run the client on a new MessageLoop until 43 // Run the client on a new MessageLoop until
43 context.Start(); 44 context.Start();
44 client.Start(); 45 client.Start();
45 ui_loop.Run(); 46 ui_loop.Run();
46 47
47 client.Stop(); 48 client.Stop();
48 context.Stop(); 49 context.Stop();
49 50
50 return 0; 51 return 0;
51 } 52 }
OLDNEW
« no previous file with comments | « remoting/client/DEPS ('k') | remoting/host/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698