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

Unified Diff: webkit/support/test_webmessageportchannel.h

Issue 10066044: RefCounted types should not have public destructors, webkit/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implementation ordering Created 8 years, 8 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 | « webkit/quota/quota_manager.cc ('k') | webkit/support/test_webmessageportchannel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/test_webmessageportchannel.h
diff --git a/webkit/support/test_webmessageportchannel.h b/webkit/support/test_webmessageportchannel.h
index 101a6e4811ac247137324300023dd5faa3497052..6a8d0d2f25efcbc2a3467008555ea422568e63d6 100644
--- a/webkit/support/test_webmessageportchannel.h
+++ b/webkit/support/test_webmessageportchannel.h
@@ -20,7 +20,6 @@ class TestWebMessagePortChannel
public base::RefCounted<TestWebMessagePortChannel> {
public:
TestWebMessagePortChannel();
- virtual ~TestWebMessagePortChannel();
// WebMessagePortChannel implementation.
virtual void setClient(WebKit::WebMessagePortChannelClient*) OVERRIDE;
@@ -33,8 +32,14 @@ class TestWebMessagePortChannel
virtual bool tryGetMessage(WebKit::WebString*,
WebKit::WebMessagePortChannelArray&) OVERRIDE;
+ protected:
+ virtual ~TestWebMessagePortChannel();
+
private:
+ friend class base::RefCounted<TestWebMessagePortChannel>;
+
class Message;
+
void queueMessage(Message*);
WebKit::WebMessagePortChannelClient* client_;
« no previous file with comments | « webkit/quota/quota_manager.cc ('k') | webkit/support/test_webmessageportchannel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698