diff options
author | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 17:05:04 +0000 |
---|---|---|
committer | scottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-25 17:05:04 +0000 |
commit | 5cbe3cfd488120c24d6708aa7294c86fb34762bd (patch) | |
tree | 964ebb145b6517f5239ff326932dbda5a1596123 /remoting/client | |
parent | f9af121c4c1447200ac85604fe74cdcdaeb256eb (diff) | |
download | chromium_src-5cbe3cfd488120c24d6708aa7294c86fb34762bd.zip chromium_src-5cbe3cfd488120c24d6708aa7294c86fb34762bd.tar.gz chromium_src-5cbe3cfd488120c24d6708aa7294c86fb34762bd.tar.bz2 |
LOG(INFO) tidying in remoting/
Some deletions, some to VLOG, some to ERROR.
R=sergeyu@chromium.org, wez@chromium.org
BUG=322805
Review URL: https://codereview.chromium.org/82923009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237092 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client')
-rw-r--r-- | remoting/client/jni/chromoting_jni_instance.cc | 3 | ||||
-rw-r--r-- | remoting/client/jni/chromoting_jni_runtime.cc | 2 | ||||
-rw-r--r-- | remoting/client/jni/jni_frame_consumer.cc | 2 | ||||
-rw-r--r-- | remoting/client/plugin/chromoting_instance.cc | 6 | ||||
-rw-r--r-- | remoting/client/plugin/pepper_input_handler.cc | 2 |
5 files changed, 5 insertions, 10 deletions
diff --git a/remoting/client/jni/chromoting_jni_instance.cc b/remoting/client/jni/chromoting_jni_instance.cc index 5760005..bd0a063 100644 --- a/remoting/client/jni/chromoting_jni_instance.cc +++ b/remoting/client/jni/chromoting_jni_instance.cc @@ -180,7 +180,6 @@ void ChromotingJniInstance::OnConnectionState( EnableStatsLogging(state == protocol::ConnectionToHost::CONNECTED); if (create_pairing_ && state == protocol::ConnectionToHost::CONNECTED) { - LOG(INFO) << "Attempting to pair with host"; protocol::PairingRequest request; request.set_client_name("Android"); connection_->host_stub()->RequestPairing(request); @@ -204,7 +203,6 @@ void ChromotingJniInstance::SetCapabilities(const std::string& capabilities) { void ChromotingJniInstance::SetPairingResponse( const protocol::PairingResponse& response) { - LOG(INFO) << "Successfully established pairing with host"; jni_runtime_->ui_task_runner()->PostTask( FROM_HERE, @@ -318,7 +316,6 @@ void ChromotingJniInstance::FetchSecret( if (!client_config_.client_pairing_id.empty()) { // We attempted to connect using an existing pairing that was rejected. // Unless we forget about the stale credentials, we'll continue trying them. - LOG(INFO) << "Deleting rejected pairing credentials"; jni_runtime_->CommitPairingCredentials(host_id_, "", ""); } diff --git a/remoting/client/jni/chromoting_jni_runtime.cc b/remoting/client/jni/chromoting_jni_runtime.cc index 9e9c953..09af790 100644 --- a/remoting/client/jni/chromoting_jni_runtime.cc +++ b/remoting/client/jni/chromoting_jni_runtime.cc @@ -138,11 +138,9 @@ ChromotingJniRuntime::ChromotingJniRuntime() { // On Android, the UI thread is managed by Java, so we need to attach and // start a special type of message loop to allow Chromium code to run tasks. - LOG(INFO) << "Starting main message loop"; ui_loop_.reset(new base::MessageLoopForUI()); ui_loop_->Start(); - LOG(INFO) << "Spawning additional threads"; // TODO(solb) Stop pretending to control the managed UI thread's lifetime. ui_task_runner_ = new AutoThreadTaskRunner(ui_loop_->message_loop_proxy(), base::MessageLoop::QuitClosure()); diff --git a/remoting/client/jni/jni_frame_consumer.cc b/remoting/client/jni/jni_frame_consumer.cc index 2ef99820..ac1e7a6 100644 --- a/remoting/client/jni/jni_frame_consumer.cc +++ b/remoting/client/jni/jni_frame_consumer.cc @@ -83,7 +83,7 @@ void JniFrameConsumer::ApplyBuffer(const webrtc::DesktopSize& view_size, void JniFrameConsumer::ReturnBuffer(webrtc::DesktopFrame* buffer) { DCHECK(jni_runtime_->display_task_runner()->BelongsToCurrentThread()); - LOG(INFO) << "Returning image buffer"; + VLOG(0) << "Returning image buffer"; FreeBuffer(buffer); } diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc index a1449d5..ba69267 100644 --- a/remoting/client/plugin/chromoting_instance.cc +++ b/remoting/client/plugin/chromoting_instance.cc @@ -647,8 +647,8 @@ void ChromotingInstance::ConnectWithConfig(const ClientConfig& config, mouse_input_filter_.set_input_stub(host_connection_->input_stub()); mouse_input_filter_.set_input_size(view_->get_view_size_dips()); - LOG(INFO) << "Connecting to " << config.host_jid - << ". Local jid: " << local_jid << "."; + VLOG(0) << "Connecting to " << config.host_jid + << ". Local jid: " << local_jid << "."; // Setup the signal strategy. signal_strategy_.reset(new DelegatingSignalStrategy( @@ -677,7 +677,7 @@ void ChromotingInstance::HandleDisconnect(const base::DictionaryValue& data) { view_weak_factory_.reset(); view_.reset(); - LOG(INFO) << "Disconnecting from host."; + VLOG(0) << "Disconnecting from host."; client_.reset(); diff --git a/remoting/client/plugin/pepper_input_handler.cc b/remoting/client/plugin/pepper_input_handler.cc index a34db14..10166b8 100644 --- a/remoting/client/plugin/pepper_input_handler.cc +++ b/remoting/client/plugin/pepper_input_handler.cc @@ -176,7 +176,7 @@ bool PepperInputHandler::HandleInputEvent(const pp::InputEvent& event) { return true; default: { - LOG(INFO) << "Unhandled input event: " << event.GetType(); + VLOG(0) << "Unhandled input event: " << event.GetType(); break; } } |