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

Unified Diff: extensions/browser/api/cast_channel/cast_channel_apitest.cc

Issue 417403002: Remove weak pointers from CastSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactor to use CancelableCallback Created 6 years, 5 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
Index: extensions/browser/api/cast_channel/cast_channel_apitest.cc
diff --git a/extensions/browser/api/cast_channel/cast_channel_apitest.cc b/extensions/browser/api/cast_channel/cast_channel_apitest.cc
index 14f1fbd29a9e806957adcc8fc4cb1047b934987c..92aa958ac2e7aacf17352e84a4ff8b7137b9680e 100644
--- a/extensions/browser/api/cast_channel/cast_channel_apitest.cc
+++ b/extensions/browser/api/cast_channel/cast_channel_apitest.cc
@@ -69,11 +69,6 @@ class MockCastSocket : public CastSocket {
base::TimeDelta::FromMilliseconds(kTimeoutMs)) {}
virtual ~MockCastSocket() {}
- virtual bool CalledOnValidThread() const OVERRIDE {
- // Always return true in testing.
- return true;
- }
-
MOCK_METHOD1(Connect, void(const net::CompletionCallback& callback));
MOCK_METHOD2(SendMessage, void(const MessageInfo& message,
const net::CompletionCallback& callback));
« no previous file with comments | « no previous file | extensions/browser/api/cast_channel/cast_socket.h » ('j') | extensions/browser/api/cast_channel/cast_socket.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698