summaryrefslogtreecommitdiffstats
path: root/components/autofill
diff options
context:
space:
mode:
authorbenquan@chromium.org <benquan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-22 19:07:07 +0000
committerbenquan@chromium.org <benquan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-22 19:07:07 +0000
commit9886829343b0f99da92f591d4e138344598f9c80 (patch)
tree0490aa2c0f99175cd8c7ad9de3dfce5e4c94d99e /components/autofill
parent8d38d7b36a834b7bbfa0a8e880f5c588c06c88e0 (diff)
downloadchromium_src-9886829343b0f99da92f591d4e138344598f9c80.zip
chromium_src-9886829343b0f99da92f591d4e138344598f9c80.tar.gz
chromium_src-9886829343b0f99da92f591d4e138344598f9c80.tar.bz2
Add DVLOG to track sending Autocheckout Status. Add also add form signatures in DVLOG statement when query request has been retrieved from cache.
BUG= Review URL: https://chromiumcodereview.appspot.com/13852016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195566 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/autofill')
-rw-r--r--components/autofill/browser/autocheckout_request_manager.cc2
-rw-r--r--components/autofill/browser/autofill_download.cc5
-rw-r--r--components/autofill/browser/wallet/wallet_client.cc2
3 files changed, 6 insertions, 3 deletions
diff --git a/components/autofill/browser/autocheckout_request_manager.cc b/components/autofill/browser/autocheckout_request_manager.cc
index fcf9a33..8fc7562 100644
--- a/components/autofill/browser/autocheckout_request_manager.cc
+++ b/components/autofill/browser/autocheckout_request_manager.cc
@@ -118,7 +118,7 @@ void AutocheckoutRequestManager::OnMalformedResponse() {
}
void AutocheckoutRequestManager::OnNetworkError(int response_code) {
- // Nothin to be done. |response_code| is logged by |metric_logger_|.
+ // Nothing to be done. |response_code| is logged by |metric_logger_|.
}
AutocheckoutRequestManager::AutocheckoutRequestManager(
diff --git a/components/autofill/browser/autofill_download.cc b/components/autofill/browser/autofill_download.cc
index 70eeed5..409d586 100644
--- a/components/autofill/browser/autofill_download.cc
+++ b/components/autofill/browser/autofill_download.cc
@@ -111,8 +111,9 @@ bool AutofillDownloadManager::StartQueryRequest(
std::string query_data;
if (CheckCacheForQueryRequest(request_data.form_signatures, &query_data)) {
- DVLOG(1) << "AutofillDownloadManager: query request has been retrieved from"
- << "the cache";
+ DVLOG(1) << "AutofillDownloadManager: query request has been retrieved "
+ << "from the cache, form signatures: "
+ << GetCombinedSignature(request_data.form_signatures);
observer_->OnLoadedServerPredictions(query_data);
return true;
}
diff --git a/components/autofill/browser/wallet/wallet_client.cc b/components/autofill/browser/wallet/wallet_client.cc
index 7717c27..f9ff1c7 100644
--- a/components/autofill/browser/wallet/wallet_client.cc
+++ b/components/autofill/browser/wallet/wallet_client.cc
@@ -447,6 +447,8 @@ void WalletClient::SendAutocheckoutStatus(
AutocheckoutStatus status,
const GURL& source_url,
const std::string& google_transaction_id) {
+ DVLOG(1) << "Sending Autocheckout Status: " << status
+ << " for: " << source_url;
if (HasRequestInProgress()) {
pending_requests_.push(base::Bind(&WalletClient::SendAutocheckoutStatus,
base::Unretained(this),