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

Unified Diff: content/public/browser/browser_context.h

Issue 653633004: Shutdown Service Workers before the profile is destroyed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ios build fix Created 6 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: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 85b4ae6cea14eb28b50aaab72b98d00a9418c48f..93a4f2db6f766ae1524c80c69b6f444907afa7ad 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -164,6 +164,9 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
// Returns the SSL host state decisions for this context. The context may
// return NULL, implementing the default exception storage strategy.
virtual SSLHostStateDelegate* GetSSLHostStateDelegate() = 0;
+
+ protected:
+ void NotifyWillBeDestroyed();
michaeln 2014/10/22 22:52:46 I think this is nicer than what is currently being
falken 2014/10/23 02:06:38 Done.
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698