summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/contacts
diff options
context:
space:
mode:
authorkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-19 05:23:34 +0000
committerkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-19 05:23:34 +0000
commitd1a93b46b5688aa9d5aef4aad9e34e8598e41da8 (patch)
treeab59b57e3db2597d1911303a840ffef8f48ad91b /chrome/browser/chromeos/contacts
parentfff727725f8a9449871c14283592c4b6cb969dfe (diff)
downloadchromium_src-d1a93b46b5688aa9d5aef4aad9e34e8598e41da8.zip
chromium_src-d1a93b46b5688aa9d5aef4aad9e34e8598e41da8.tar.gz
chromium_src-d1a93b46b5688aa9d5aef4aad9e34e8598e41da8.tar.bz2
Get rid of RequestRegistry (part 2): remove cancellation methods.
* CancelForFilePath is used only from drive::JobScheduler, and is now 100% covered by the new, base::Callback based cancellation. * I guess CancelAll had been used just for satisfing the DCHECK in ~RequestRegistry. But it's not needed. The requests are discarded without problem in the destructor. BUG=164098 R=satorux@chromium.org, tzik@chromium.org Review URL: https://codereview.chromium.org/17385023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207185 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/contacts')
-rw-r--r--chrome/browser/chromeos/contacts/gdata_contacts_service.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/contacts/gdata_contacts_service.cc b/chrome/browser/chromeos/contacts/gdata_contacts_service.cc
index 29d82f0..0d614cb 100644
--- a/chrome/browser/chromeos/contacts/gdata_contacts_service.cc
+++ b/chrome/browser/chromeos/contacts/gdata_contacts_service.cc
@@ -871,7 +871,6 @@ GDataContactsService::GDataContactsService(
GDataContactsService::~GDataContactsService() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- sender_->CancelAll();
STLDeleteContainerPointers(requests_.begin(), requests_.end());
requests_.clear();
}