CastSocket         26 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc using cast_channel::CastSocket;
CastSocket         65 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc scoped_ptr<CastSocket> CastChannelAPI::CreateCastSocket(
CastSocket         70 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc     return scoped_ptr<CastSocket>(
CastSocket         71 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc         new CastSocket(extension_id, url, this,
CastSocket         76 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc void CastChannelAPI::SetSocketForTest(scoped_ptr<CastSocket> socket_for_test) {
CastSocket         80 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc void CastChannelAPI::OnError(const CastSocket* socket,
CastSocket         93 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc void CastChannelAPI::OnMessage(const CastSocket* socket,
CastSocket        116 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc   manager_ = ApiResourceManager<CastSocket>::Get(browser_context());
CastSocket        124 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc CastSocket* CastChannelAsyncApiFunction::GetSocketOrCompleteWithError(
CastSocket        126 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc   CastSocket* socket = GetSocket(channel_id);
CastSocket        134 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc int CastChannelAsyncApiFunction::AddSocket(CastSocket* socket) {
CastSocket        150 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc   CastSocket* socket = GetSocket(channel_id);
CastSocket        168 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc CastSocket* CastChannelAsyncApiFunction::GetSocket(int channel_id) {
CastSocket        198 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc   scoped_ptr<CastSocket> socket = api_->CreateCastSocket(extension_->id(),
CastSocket        222 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc   CastSocket* socket = GetSocketOrCompleteWithError(
CastSocket        250 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc   CastSocket* socket = GetSocketOrCompleteWithError(
CastSocket         29 chrome/browser/extensions/api/cast_channel/cast_channel_api.h                        public cast_channel::CastSocket::Delegate {
CastSocket         41 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   scoped_ptr<cast_channel::CastSocket> CreateCastSocket(
CastSocket         47 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   void SetSocketForTest(scoped_ptr<cast_channel::CastSocket> socket_for_test);
CastSocket         56 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   virtual void OnError(const cast_channel::CastSocket* socket,
CastSocket         58 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   virtual void OnMessage(const cast_channel::CastSocket* socket,
CastSocket         65 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   scoped_ptr<cast_channel::CastSocket> socket_for_test_;
CastSocket         84 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   cast_channel::CastSocket* GetSocketOrCompleteWithError(int channel_id);
CastSocket         88 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   int AddSocket(cast_channel::CastSocket* socket);
CastSocket        103 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   cast_channel::CastSocket* GetSocket(int channel_id);
CastSocket        110 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   ApiResourceManager<cast_channel::CastSocket>* manager_;
CastSocket         21 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc using cast_channel::CastSocket;
CastSocket         49 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc class MockCastSocket : public CastSocket {
CastSocket         51 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc   explicit MockCastSocket(CastSocket::Delegate* delegate,
CastSocket         53 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc       : CastSocket(kTestExtensionId, GURL(kTestUrl), delegate, net_log) {}
CastSocket         86 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc         make_scoped_ptr<CastSocket>(mock_cast_socket_).Pass());
CastSocket         52 chrome/browser/extensions/api/cast_channel/cast_socket.cc     ApiResourceManager<api::cast_channel::CastSocket> > > g_factory =
CastSocket         58 chrome/browser/extensions/api/cast_channel/cast_socket.cc     ApiResourceManager<api::cast_channel::CastSocket> >*
CastSocket         59 chrome/browser/extensions/api/cast_channel/cast_socket.cc ApiResourceManager<api::cast_channel::CastSocket>::GetFactoryInstance() {
CastSocket         71 chrome/browser/extensions/api/cast_channel/cast_socket.cc CastSocket::CastSocket(const std::string& owner_extension_id,
CastSocket         73 chrome/browser/extensions/api/cast_channel/cast_socket.cc                        CastSocket::Delegate* delegate,
CastSocket        100 chrome/browser/extensions/api/cast_channel/cast_socket.cc CastSocket::~CastSocket() { }
CastSocket        102 chrome/browser/extensions/api/cast_channel/cast_socket.cc const GURL& CastSocket::url() const {
CastSocket        106 chrome/browser/extensions/api/cast_channel/cast_socket.cc scoped_ptr<net::TCPClientSocket> CastSocket::CreateTcpSocket() {
CastSocket        115 chrome/browser/extensions/api/cast_channel/cast_socket.cc scoped_ptr<net::SSLClientSocket> CastSocket::CreateSslSocket(
CastSocket        144 chrome/browser/extensions/api/cast_channel/cast_socket.cc bool CastSocket::ExtractPeerCert(std::string* cert) {
CastSocket        157 chrome/browser/extensions/api/cast_channel/cast_socket.cc bool CastSocket::VerifyChallengeReply() {
CastSocket        161 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::Connect(const net::CompletionCallback& callback) {
CastSocket        179 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::PostTaskToStartConnectLoop(int result) {
CastSocket        183 chrome/browser/extensions/api/cast_channel/cast_socket.cc       base::Bind(&CastSocket::DoConnectLoop, AsWeakPtr(), result));
CastSocket        190 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::DoConnectLoop(int result) {
CastSocket        238 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoTcpConnect() {
CastSocket        243 chrome/browser/extensions/api/cast_channel/cast_socket.cc       base::Bind(&CastSocket::DoConnectLoop, AsWeakPtr()));
CastSocket        246 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoTcpConnectComplete(int result) {
CastSocket        257 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoSslConnect() {
CastSocket        262 chrome/browser/extensions/api/cast_channel/cast_socket.cc       base::Bind(&CastSocket::DoConnectLoop, AsWeakPtr()));
CastSocket        265 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoSslConnectComplete(int result) {
CastSocket        277 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoAuthChallengeSend() {
CastSocket        289 chrome/browser/extensions/api/cast_channel/cast_socket.cc       base::Bind(&CastSocket::SendCastMessageInternal, AsWeakPtr(),
CastSocket        291 chrome/browser/extensions/api/cast_channel/cast_socket.cc                  base::Bind(&CastSocket::DoConnectLoop, AsWeakPtr())));
CastSocket        296 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoAuthChallengeSendComplete(int result) {
CastSocket        309 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoAuthChallengeReplyComplete(int result) {
CastSocket        319 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::DoConnectCallback(int result) {
CastSocket        328 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::Close(const net::CompletionCallback& callback) {
CastSocket        340 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::SendMessage(const MessageInfo& message,
CastSocket        356 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::SendCastMessageInternal(
CastSocket        372 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::DoWriteLoop(int result) {
CastSocket        420 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoWrite() {
CastSocket        432 chrome/browser/extensions/api/cast_channel/cast_socket.cc       base::Bind(&CastSocket::DoWriteLoop, AsWeakPtr()));
CastSocket        435 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoWriteComplete(int result) {
CastSocket        455 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoWriteCallback() {
CastSocket        475 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoWriteError(int result) {
CastSocket        498 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::PostTaskToStartReadLoop() {
CastSocket        502 chrome/browser/extensions/api/cast_channel/cast_socket.cc       base::Bind(&CastSocket::StartReadLoop, AsWeakPtr()));
CastSocket        505 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::StartReadLoop() {
CastSocket        513 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::DoReadLoop(int result) {
CastSocket        548 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoRead() {
CastSocket        568 chrome/browser/extensions/api/cast_channel/cast_socket.cc       base::Bind(&CastSocket::DoReadLoop, AsWeakPtr()));
CastSocket        571 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoReadComplete(int result) {
CastSocket        610 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoReadCallback() {
CastSocket        632 chrome/browser/extensions/api/cast_channel/cast_socket.cc int CastSocket::DoReadError(int result) {
CastSocket        643 chrome/browser/extensions/api/cast_channel/cast_socket.cc bool CastSocket::ProcessHeader() {
CastSocket        657 chrome/browser/extensions/api/cast_channel/cast_socket.cc bool CastSocket::ProcessBody() {
CastSocket        672 chrome/browser/extensions/api/cast_channel/cast_socket.cc bool CastSocket::Serialize(const CastMessage& message_proto,
CastSocket        681 chrome/browser/extensions/api/cast_channel/cast_socket.cc   CastSocket::MessageHeader header;
CastSocket        687 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::CloseWithError(ChannelError error) {
CastSocket        696 chrome/browser/extensions/api/cast_channel/cast_socket.cc bool CastSocket::ParseChannelUrl(const GURL& url) {
CastSocket        734 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::FillChannelInfo(ChannelInfo* channel_info) const {
CastSocket        741 chrome/browser/extensions/api/cast_channel/cast_socket.cc bool CastSocket::CalledOnValidThread() const {
CastSocket        745 chrome/browser/extensions/api/cast_channel/cast_socket.cc CastSocket::MessageHeader::MessageHeader() : message_size(0) { }
CastSocket        747 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::MessageHeader::SetMessageSize(size_t size) {
CastSocket        753 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::MessageHeader::PrependToString(std::string* str) {
CastSocket        761 chrome/browser/extensions/api/cast_channel/cast_socket.cc void CastSocket::MessageHeader::ReadFromIOBuffer(
CastSocket        768 chrome/browser/extensions/api/cast_channel/cast_socket.cc std::string CastSocket::MessageHeader::ToString() {
CastSocket        772 chrome/browser/extensions/api/cast_channel/cast_socket.cc CastSocket::WriteRequest::WriteRequest(const net::CompletionCallback& callback)
CastSocket        775 chrome/browser/extensions/api/cast_channel/cast_socket.cc bool CastSocket::WriteRequest::SetContent(const CastMessage& message_proto) {
CastSocket        785 chrome/browser/extensions/api/cast_channel/cast_socket.cc CastSocket::WriteRequest::~WriteRequest() { }
CastSocket         54 chrome/browser/extensions/api/cast_channel/cast_socket.h class CastSocket : public ApiResource,
CastSocket         55 chrome/browser/extensions/api/cast_channel/cast_socket.h                    public base::SupportsWeakPtr<CastSocket> {
CastSocket         62 chrome/browser/extensions/api/cast_channel/cast_socket.h     virtual void OnError(const CastSocket* socket, ChannelError error) = 0;
CastSocket         65 chrome/browser/extensions/api/cast_channel/cast_socket.h     virtual void OnMessage(const CastSocket* socket,
CastSocket         74 chrome/browser/extensions/api/cast_channel/cast_socket.h   CastSocket(const std::string& owner_extension_id,
CastSocket         76 chrome/browser/extensions/api/cast_channel/cast_socket.h              CastSocket::Delegate* delegate,
CastSocket         78 chrome/browser/extensions/api/cast_channel/cast_socket.h   virtual ~CastSocket();
CastSocket        126 chrome/browser/extensions/api/cast_channel/cast_socket.h   friend class ApiResourceManager<CastSocket>;
CastSocket        352 chrome/browser/extensions/api/cast_channel/cast_socket.h   DISALLOW_COPY_AND_ASSIGN(CastSocket);
CastSocket         74 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc class MockCastSocketDelegate : public CastSocket::Delegate {
CastSocket         76 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   MOCK_METHOD2(OnError, void(const CastSocket* socket,
CastSocket         78 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   MOCK_METHOD2(OnMessage, void(const CastSocket* socket,
CastSocket        133 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc class TestCastSocket : public CastSocket {
CastSocket        149 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc       CastSocket("abcdefg", GURL(url), delegate,
CastSocket        297 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc       ASSERT_TRUE(CastSocket::Serialize(test_protos_[i], &test_proto_strs_[i]));
CastSocket        303 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc     ASSERT_TRUE(CastSocket::Serialize(request, &auth_request_));
CastSocket        314 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc     ASSERT_TRUE(CastSocket::Serialize(reply_msg, &auth_reply_));