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

Unified Diff: remoting/host/host_status_sender_unittest.cc

Issue 86523005: Replace all usage of LOG(INFO) in Chromoting host with HOST_LOG to bypass the presubmit check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/host_status_sender.cc ('k') | remoting/host/input_injector_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/host_status_sender_unittest.cc
diff --git a/remoting/host/host_status_sender_unittest.cc b/remoting/host/host_status_sender_unittest.cc
index 11da627e57ce6bb6ae42758cfe84699232d0ac56..8d87aaf37a9c9bcba39a3e950bd368452a360613 100644
--- a/remoting/host/host_status_sender_unittest.cc
+++ b/remoting/host/host_status_sender_unittest.cc
@@ -7,6 +7,7 @@
#include "base/strings/string_number_conversions.h"
#include "base/time/time.h"
#include "remoting/base/constants.h"
+#include "remoting/base/logging.h"
#include "remoting/base/rsa_key_pair.h"
#include "remoting/base/test_rsa_key_pair.h"
#include "remoting/host/host_exit_codes.h"
@@ -87,7 +88,6 @@ TEST_F(HostStatusSenderTest, SendOnlineStatus) {
scoped_ptr<XmlElement> stanza(sent_iq);
ASSERT_TRUE(stanza != NULL);
- LOG(INFO) << stanza->Str();
ValidateHostStatusStanza(stanza.get(), HostStatusSender::ONLINE);
}
@@ -116,7 +116,6 @@ TEST_F(HostStatusSenderTest, SendOfflineStatus) {
scoped_ptr<XmlElement> stanza(sent_iq);
ASSERT_TRUE(stanza != NULL);
- LOG(INFO) << stanza->Str();
ValidateHostStatusStanza(stanza.get(), HostStatusSender::OFFLINE);
}
@@ -192,9 +191,6 @@ void HostStatusSenderTest::ValidateSignature(
std::string expected_signature =
key_pair->SignMessage(message);
EXPECT_EQ(expected_signature, signature->BodyText());
-
- int64 now = static_cast<int64>(base::Time::Now().ToDoubleT());
- LOG(INFO) << "SendHostStatus took " << now - time << " seconds.";
}
} // namespace remoting
« no previous file with comments | « remoting/host/host_status_sender.cc ('k') | remoting/host/input_injector_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698