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

Unified Diff: chrome/browser/dom_ui/chrome_url_data_manager.h

Issue 6285002: Fix for crash when deleting DataSource's in IO thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed debugging stack traces. Created 9 years, 11 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/dom_ui/chrome_url_data_manager.h
diff --git a/chrome/browser/dom_ui/chrome_url_data_manager.h b/chrome/browser/dom_ui/chrome_url_data_manager.h
index 709cdcbdaf5196cbf57ab89f53d4d54196e9f9af..301bbf1f73962656e57853ee6a24496d4d11e891 100644
--- a/chrome/browser/dom_ui/chrome_url_data_manager.h
+++ b/chrome/browser/dom_ui/chrome_url_data_manager.h
@@ -128,6 +128,10 @@ class ChromeURLDataManager {
ChromeURLDataManager();
~ChromeURLDataManager();
+ // Releases a data source. Must be called on the UI thread so |source| is
+ // deleted in that thread.
+ void ReleaseDataSource(scoped_refptr<DataSource> source);
+
// Parse a URL into the components used to resolve its request.
static void URLToRequest(const GURL& url,
std::string* source,
« no previous file with comments | « no previous file | chrome/browser/dom_ui/chrome_url_data_manager.cc » ('j') | chrome/browser/dom_ui/chrome_url_data_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698