summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/extensions/user_script_master.h2
-rw-r--r--chrome/browser/history/history_marshaling.h3
-rw-r--r--net/base/host_resolver.h2
3 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/extensions/user_script_master.h b/chrome/browser/extensions/user_script_master.h
index af66879..57f4fe2 100644
--- a/chrome/browser/extensions/user_script_master.h
+++ b/chrome/browser/extensions/user_script_master.h
@@ -22,7 +22,7 @@ class StringPiece;
// 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>,
public DirectoryWatcher::Delegate,
public NotificationObserver {
public:
diff --git a/chrome/browser/history/history_marshaling.h b/chrome/browser/history/history_marshaling.h
index b289228..947f966 100644
--- a/chrome/browser/history/history_marshaling.h
+++ b/chrome/browser/history/history_marshaling.h
@@ -19,7 +19,8 @@ namespace history {
// Navigation -----------------------------------------------------------------
// Marshalling structure for AddPage.
-class HistoryAddPageArgs : public base::RefCounted<HistoryAddPageArgs> {
+class HistoryAddPageArgs
+ : public base::RefCountedThreadSafe<HistoryAddPageArgs> {
public:
HistoryAddPageArgs(const GURL& arg_url,
base::Time arg_time,
diff --git a/net/base/host_resolver.h b/net/base/host_resolver.h
index e5c46a3..fe91b4d 100644
--- a/net/base/host_resolver.h
+++ b/net/base/host_resolver.h
@@ -28,7 +28,7 @@ class LoadLog;
// request at a time is to create a SingleRequestHostResolver wrapper around
// HostResolver (which will automatically cancel the single request when it
// goes out of scope).
-class HostResolver : public base::RefCounted<HostResolver> {
+class HostResolver : public base::RefCountedThreadSafe<HostResolver> {
public:
// The parameters for doing a Resolve(). |hostname| and |port| are required,
// the rest are optional (and have reasonable defaults).