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

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

Issue 213025: Making UserScriptMaster::ScriptReloader refcounted thread safe... (Closed) Base URL: svn://chrome-svn/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 | no next file » | 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 26157)
+++ chrome/browser/extensions/user_script_master.h (working copy)
@@ -69,7 +69,7 @@
// on the file thread. It must be created on, and its public API must only be
// called from, the master's thread.
class ScriptReloader
- : public base::RefCounted<UserScriptMaster::ScriptReloader> {
+ : public base::RefCountedThreadSafe<UserScriptMaster::ScriptReloader> {
public:
// Parses the includes out of |script| and returns them in |includes|.
static bool ParseMetadataHeader(const base::StringPiece& script_text,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698