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

Unified Diff: base/message_pump_glib_unittest.cc

Issue 360042: First patch in making destructors of refcounted objects private. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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
Index: base/message_pump_glib_unittest.cc
===================================================================
--- base/message_pump_glib_unittest.cc (revision 30973)
+++ base/message_pump_glib_unittest.cc (working copy)
@@ -330,6 +330,10 @@
int task_count() const { return task_count_; }
private:
+ friend class base::RefCounted<ConcurrentHelper>;
+
+ ~ConcurrentHelper() {}
+
static const int kStartingEventCount = 20;
static const int kStartingTaskCount = 20;
@@ -455,6 +459,10 @@
}
private:
+ friend class base::RefCounted<GLibLoopRunner>;
+
+ ~GLibLoopRunner() {}
+
bool quit_;
};

Powered by Google App Engine
This is Rietveld 408576698