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

Unified Diff: content/browser/cancelable_request.cc

Issue 7464009: Removal of Profile from content part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: browser_context Created 9 years, 5 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: content/browser/cancelable_request.cc
diff --git a/content/browser/cancelable_request.cc b/content/browser/cancelable_request.cc
index 5e36d89dfbeaf8734dcd41482b8e85a6e6c8a41b..9e25dacd71ac56753b917324a91606bfabbc897b 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
+ // deleted, or do other bad things. This can occur on shutdown (or context
// destruction) when a request is scheduled, completed (but not dispatched),
- // then the Profile is deleted.
+ // then the context is deleted.
base::AutoLock lock(pending_request_lock_);
while (!pending_requests_.empty())
CancelRequestLocked(pending_requests_.begin());

Powered by Google App Engine
This is Rietveld 408576698