Index: base/message_loop_unittest.cc |
=================================================================== |
--- base/message_loop_unittest.cc (revision 30973) |
+++ base/message_loop_unittest.cc (working copy) |
@@ -67,6 +67,10 @@ |
const std::string& result() const { return result_; } |
private: |
+ friend class base::RefCounted<Foo>; |
+ |
+ ~Foo() {} |
+ |
int test_count_; |
std::string result_; |
}; |
@@ -76,6 +80,11 @@ |
void QuitNow() { |
MessageLoop::current()->Quit(); |
} |
+ |
+ private: |
+ friend class base::RefCounted<QuitMsgLoop>; |
+ |
+ ~QuitMsgLoop() {} |
}; |
void RunTest_PostTask(MessageLoop::Type message_loop_type) { |