summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/wds
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-12-20 16:21:35 +0000
committerSteve Block <steveblock@google.com>2012-01-03 22:38:06 +0000
commita09e7cf49f43950a799f936bf42a9912d696547b (patch)
tree108947d0cc5707c152e6818fc81998c71a944524 /Source/WebKit/android/wds
parentcd962bb91932eb0f0ef6d84a04adbba2ba62707a (diff)
downloadexternal_webkit-a09e7cf49f43950a799f936bf42a9912d696547b.zip
external_webkit-a09e7cf49f43950a799f936bf42a9912d696547b.tar.gz
external_webkit-a09e7cf49f43950a799f936bf42a9912d696547b.tar.bz2
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016 Bug: 5449033 Change-Id: I35a9fa5e53a83a9c9a920333a3752dd151fbd3b8
Diffstat (limited to 'Source/WebKit/android/wds')
-rw-r--r--Source/WebKit/android/wds/Command.cpp2
-rw-r--r--Source/WebKit/android/wds/DebugServer.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/Source/WebKit/android/wds/Command.cpp b/Source/WebKit/android/wds/Command.cpp
index bd8536f..1a365e5 100644
--- a/Source/WebKit/android/wds/Command.cpp
+++ b/Source/WebKit/android/wds/Command.cpp
@@ -95,7 +95,7 @@ public:
virtual ~InternalCommand() { delete m_connection; }
void doCommand() const {
- LOGD("Executing command '%s' (%s)", m_name, m_description);
+ ALOGD("Executing command '%s' (%s)", m_name, m_description);
if (!m_dispatch(m_frame, m_connection))
// XXX: Have useful failure messages
m_connection->write("EPIC FAIL!\n", 11);
diff --git a/Source/WebKit/android/wds/DebugServer.cpp b/Source/WebKit/android/wds/DebugServer.cpp
index f33a65b..494a634 100644
--- a/Source/WebKit/android/wds/DebugServer.cpp
+++ b/Source/WebKit/android/wds/DebugServer.cpp
@@ -70,7 +70,7 @@ DebugServer::DebugServer() {
char buf[PROPERTY_VALUE_MAX];
int ret = property_get("webcore.wds.enable", buf, NULL);
if (ret != -1 && strcmp(buf, "1") == 0) {
- LOGD("WDS Enabled");
+ ALOGD("WDS Enabled");
m_threadId = createThread(mainThread, this, "WDS");
}
// Initialize the available commands.
@@ -78,7 +78,7 @@ DebugServer::DebugServer() {
}
void DebugServer::start() {
- LOGD("DebugServer thread started");
+ ALOGD("DebugServer thread started");
ConnectionServer cs;
if (!cs.connect(DEFAULT_PORT)) {
@@ -87,13 +87,13 @@ void DebugServer::start() {
}
while (true ) {
- LOGD("Waiting for incoming connections...");
+ ALOGD("Waiting for incoming connections...");
Connection* conn = cs.accept();
if (!conn) {
log_errno("Failed to accept new connections");
return;
}
- LOGD("...Connection established");
+ ALOGD("...Connection established");
Command* c = Command::Find(conn);
if (!c) {
@@ -106,7 +106,7 @@ void DebugServer::start() {
}
}
- LOGD("DebugServer thread finished");
+ ALOGD("DebugServer thread finished");
}
} // end namespace WDS