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

Unified Diff: components/history/core/test/history_client_fake_bookmarks.cc

Issue 2680353002: Make FakeBookmarkDatabase RefCountedThreadSafe (Closed)
Patch Set: Created 3 years, 10 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: components/history/core/test/history_client_fake_bookmarks.cc
diff --git a/components/history/core/test/history_client_fake_bookmarks.cc b/components/history/core/test/history_client_fake_bookmarks.cc
index 67596503b78064aef6ce244ad4e00f0b8f030ed9..e54087ca821a86ee8b177355f5466bc58841d66e 100644
--- a/components/history/core/test/history_client_fake_bookmarks.cc
+++ b/components/history/core/test/history_client_fake_bookmarks.cc
@@ -15,7 +15,8 @@
namespace history {
-class FakeBookmarkDatabase : public base::RefCounted<FakeBookmarkDatabase> {
+class FakeBookmarkDatabase
+ : public base::RefCountedThreadSafe<FakeBookmarkDatabase> {
public:
FakeBookmarkDatabase() {}
@@ -27,7 +28,7 @@ class FakeBookmarkDatabase : public base::RefCounted<FakeBookmarkDatabase> {
void GetBookmarks(std::vector<URLAndTitle>* bookmarks);
private:
- friend class base::RefCounted<FakeBookmarkDatabase>;
+ friend class base::RefCountedThreadSafe<FakeBookmarkDatabase>;
~FakeBookmarkDatabase() {}
« 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