summaryrefslogtreecommitdiffstats
path: root/content/browser/speech
diff options
context:
space:
mode:
authoranujk.sharma <anujk.sharma@samsung.com>2014-11-13 20:13:02 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-14 04:14:13 +0000
commitd55e6a2a86a60d3fff964b0779f495bbf1419d17 (patch)
tree59dd4b78f562e76d8ba7179d329df33804a325c4 /content/browser/speech
parent3716c4ae88d8660de117e3af627919174b651dd1 (diff)
downloadchromium_src-d55e6a2a86a60d3fff964b0779f495bbf1419d17.zip
chromium_src-d55e6a2a86a60d3fff964b0779f495bbf1419d17.tar.gz
chromium_src-d55e6a2a86a60d3fff964b0779f495bbf1419d17.tar.bz2
[content/browser/ssl && content/browser/speech] Convert VLOGs to DVLOGs
BUG=101424 Review URL: https://codereview.chromium.org/722633002 Cr-Commit-Position: refs/heads/master@{#304172}
Diffstat (limited to 'content/browser/speech')
-rw-r--r--content/browser/speech/google_one_shot_remote_engine.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/content/browser/speech/google_one_shot_remote_engine.cc b/content/browser/speech/google_one_shot_remote_engine.cc
index e52e713..e971ea3 100644
--- a/content/browser/speech/google_one_shot_remote_engine.cc
+++ b/content/browser/speech/google_one_shot_remote_engine.cc
@@ -55,7 +55,7 @@ bool ParseServerResponse(const std::string& response_body,
}
if (!response_value->IsType(base::Value::TYPE_DICTIONARY)) {
- VLOG(1) << "ParseServerResponse: Unexpected response type "
+ DVLOG(1) << "ParseServerResponse: Unexpected response type "
<< response_value->GetType();
return false;
}
@@ -65,7 +65,7 @@ bool ParseServerResponse(const std::string& response_body,
// Get the status.
int status;
if (!response_object->GetInteger(kStatusString, &status)) {
- VLOG(1) << "ParseServerResponse: " << kStatusString
+ DVLOG(1) << "ParseServerResponse: " << kStatusString
<< " is not a valid integer value.";
return false;
}
@@ -83,21 +83,21 @@ bool ParseServerResponse(const std::string& response_body,
default:
error->code = SPEECH_RECOGNITION_ERROR_NETWORK;
// Other status codes should not be returned by the server.
- VLOG(1) << "ParseServerResponse: unexpected status code " << status;
+ DVLOG(1) << "ParseServerResponse: unexpected status code " << status;
return false;
}
// Get the hypotheses.
const base::Value* hypotheses_value = NULL;
if (!response_object->Get(kHypothesesString, &hypotheses_value)) {
- VLOG(1) << "ParseServerResponse: Missing hypotheses attribute.";
+ DVLOG(1) << "ParseServerResponse: Missing hypotheses attribute.";
return false;
}
DCHECK(hypotheses_value);
if (!hypotheses_value->IsType(base::Value::TYPE_LIST)) {
- VLOG(1) << "ParseServerResponse: Unexpected hypotheses type "
- << hypotheses_value->GetType();
+ DVLOG(1) << "ParseServerResponse: Unexpected hypotheses type "
+ << hypotheses_value->GetType();
return false;
}