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

Unified Diff: content/browser/cancelable_request.cc

Issue 7575010: Removal of Profile from content part 7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 4 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
« no previous file with comments | « content/browser/appcache/chrome_appcache_service.h ('k') | content/browser/chrome_blob_storage_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/cancelable_request.cc
diff --git a/content/browser/cancelable_request.cc b/content/browser/cancelable_request.cc
index 5e36d89dfbeaf8734dcd41482b8e85a6e6c8a41b..3b1816fec465a6a667bc1bf00e260e50e2b94a66 100644
--- a/content/browser/cancelable_request.cc
+++ b/content/browser/cancelable_request.cc
@@ -11,9 +11,9 @@ CancelableRequestProvider::CancelableRequestProvider()
CancelableRequestProvider::~CancelableRequestProvider() {
// There may be requests whose result callback has not been run yet. We need
// to cancel them otherwise they may try and call us back after we've been
- // deleted, or do other bad things. This can occur on shutdown (or profile
- // destruction) when a request is scheduled, completed (but not dispatched),
- // then the Profile is deleted.
+ // deleted, or do other bad things. This can occur on shutdown (or browser
+ // context destruction) when a request is scheduled, completed (but not
+ // dispatched), then the BrowserContext is deleted.
base::AutoLock lock(pending_request_lock_);
while (!pending_requests_.empty())
CancelRequestLocked(pending_requests_.begin());
« no previous file with comments | « content/browser/appcache/chrome_appcache_service.h ('k') | content/browser/chrome_blob_storage_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698