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

Unified Diff: chrome/browser/extensions/user_script_master.h

Issue 215011: Fixed a few data races on reference counters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « no previous file | chrome/browser/history/history_marshaling.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/user_script_master.h
===================================================================
--- chrome/browser/extensions/user_script_master.h (revision 26451)
+++ chrome/browser/extensions/user_script_master.h (working copy)
@@ -22,7 +22,7 @@
// Manages a segment of shared memory that contains the user scripts the user
// has installed. Lives on the UI thread.
-class UserScriptMaster : public base::RefCounted<UserScriptMaster>,
+class UserScriptMaster : public base::RefCountedThreadSafe<UserScriptMaster>,
Aaron Boodman 2009/09/17 22:59:34 Does this class actually get called on multiple th
public DirectoryWatcher::Delegate,
public NotificationObserver {
public:
« no previous file with comments | « no previous file | chrome/browser/history/history_marshaling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698