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

Unified Diff: chrome/test/chromedriver/chrome/devtools_client_impl.cc

Issue 23467010: [chromedriver] Logging tweaks and fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/chromedriver/chrome/devtools_client_impl.cc
diff --git a/chrome/test/chromedriver/chrome/devtools_client_impl.cc b/chrome/test/chromedriver/chrome/devtools_client_impl.cc
index 24c22621aa61a2b3898938a2fcc49dc3f8581192..1dbb8088218f138df34d797d07d020145041885a 100644
--- a/chrome/test/chromedriver/chrome/devtools_client_impl.cc
+++ b/chrome/test/chromedriver/chrome/devtools_client_impl.cc
@@ -206,7 +206,7 @@ Status DevToolsClientImpl::SendCommandInternal(
command.Set("params", params.DeepCopy());
std::string message = SerializeValue(&command);
if (IsVLogOn(1)) {
- VLOG(1) << "COMMAND " << method << " (id=" << command_id << ") "
+ VLOG(1) << "DEVTOOLS COMMAND " << method << " (id=" << command_id << ") "
<< FormatValueForDisplay(params);
}
if (!socket_->Send(message))
@@ -293,7 +293,7 @@ Status DevToolsClientImpl::ProcessNextMessage(
Status DevToolsClientImpl::ProcessEvent(const internal::InspectorEvent& event) {
if (IsVLogOn(1)) {
- VLOG(1) << "EVENT " << event.method << " "
+ VLOG(1) << "DEVTOOLS EVENT " << event.method << " "
<< FormatValueForDisplay(*event.params);
}
unnotified_event_listeners_ = listeners_;
@@ -344,7 +344,7 @@ Status DevToolsClientImpl::ProcessCommandResponse(
result = FormatValueForDisplay(*response.result);
else
result = response.error;
- VLOG(1) << "RESPONSE " << method << " (id=" << response.id
+ VLOG(1) << "DEVTOOLS RESPONSE " << method << " (id=" << response.id
<< ") " << result;
}
« no previous file with comments | « no previous file | chrome/test/chromedriver/chrome_launcher.cc » ('j') | chrome/test/chromedriver/chrome_launcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698