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

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

Issue 10764015: Ensure static BrowserContext methods only get called on the UI thread. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix unittests Created 8 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
« no previous file with comments | « content/browser/resource_context_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_context.h
===================================================================
--- content/public/browser/browser_context.h (revision 145676)
+++ content/public/browser/browser_context.h (working copy)
@@ -44,7 +44,8 @@
class SpeechRecognitionPreferences;
// This class holds the context needed for a browsing session.
-// It lives on the UI thread.
+// It lives on the UI thread. All these methods must only be called on the UI
+// thread.
class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
public:
static DownloadManager* GetDownloadManager(BrowserContext* browser_context);
« no previous file with comments | « content/browser/resource_context_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698