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

Unified Diff: chrome/browser/chromeos/gdata/gdata_contacts_service_stub.cc

Issue 10933127: contacts: Don't save deleted contacts to disk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 2 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/browser/chromeos/gdata/gdata_contacts_service_stub.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_contacts_service_stub.cc b/chrome/browser/chromeos/gdata/gdata_contacts_service_stub.cc
index f435a6ad00eab0b5d806f9346bad25cbef109487..d9564aa714792556c2d865fe487fc0fddf5b9dd6 100644
--- a/chrome/browser/chromeos/gdata/gdata_contacts_service_stub.cc
+++ b/chrome/browser/chromeos/gdata/gdata_contacts_service_stub.cc
@@ -17,6 +17,7 @@ namespace gdata {
GDataContactsServiceStub::GDataContactsServiceStub()
: num_download_requests_(0),
+ num_download_requests_with_wrong_timestamps_(0),
download_should_succeed_(true) {
}
@@ -51,6 +52,7 @@ void GDataContactsServiceStub::DownloadContacts(
<< "differed from expected ("
<< util::FormatTimeAsString(expected_min_update_time_)
<< "); not returning any contacts";
+ num_download_requests_with_wrong_timestamps_++;
failure_callback.Run();
return;
}

Powered by Google App Engine
This is Rietveld 408576698