summaryrefslogtreecommitdiffstats
path: root/remoting/client/x11_client.cc
diff options
context:
space:
mode:
authorgarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-23 18:22:15 +0000
committergarykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-23 18:22:15 +0000
commite430bd8865e9444cd8cb742145395addaa4918bd (patch)
treeef773f0cdba1ae3c8243a83222a88c45cbfa16ee /remoting/client/x11_client.cc
parent162e3df58563d1dae809980b084bfa706e6832a9 (diff)
downloadchromium_src-e430bd8865e9444cd8cb742145395addaa4918bd.zip
chromium_src-e430bd8865e9444cd8cb742145395addaa4918bd.tar.gz
chromium_src-e430bd8865e9444cd8cb742145395addaa4918bd.tar.bz2
Convert Chromoting logging to appear in client debug-info div.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6621018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/x11_client.cc')
-rw-r--r--remoting/client/x11_client.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/client/x11_client.cc b/remoting/client/x11_client.cc
index 4fffa7b..f56d2b1 100644
--- a/remoting/client/x11_client.cc
+++ b/remoting/client/x11_client.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -11,6 +11,7 @@
#include "remoting/client/chromoting_client.h"
#include "remoting/client/client_config.h"
#include "remoting/client/client_context.h"
+#include "remoting/client/client_logger.h"
#include "remoting/client/client_util.h"
#include "remoting/client/rectangle_update_decoder.h"
#include "remoting/client/x11_view.h"
@@ -41,7 +42,7 @@ int main(int argc, char** argv) {
remoting::X11InputHandler input_handler(&context, &connection, &view);
remoting::ChromotingClient client(
config, &context, &connection, &view, rectangle_decoder, &input_handler,
- NewRunnableFunction(&ClientQuit, &ui_loop));
+ new remoting::ClientLogger(), NewRunnableFunction(&ClientQuit, &ui_loop));
// Run the client on a new MessageLoop until
context.Start();