cast_channel       12 chrome/browser/extensions/api/cast_channel/cast_auth_util.h namespace cast_channel {
cast_channel       54 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc     const extensions::api::cast_channel::CastMessage& challenge_reply,
cast_channel       55 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc     extensions::api::cast_channel::DeviceAuthMessage* auth_message) {
cast_channel       57 chrome/browser/extensions/api/cast_channel/cast_auth_util_nss.cc       extensions::api::cast_channel::CastMessage_PayloadType_BINARY) {
cast_channel       21 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc namespace Close = cast_channel::Close;
cast_channel       22 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc namespace OnError = cast_channel::OnError;
cast_channel       23 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc namespace OnMessage = cast_channel::OnMessage;
cast_channel       24 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc namespace Open = cast_channel::Open;
cast_channel       25 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc namespace Send = cast_channel::Send;
cast_channel       26 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc using cast_channel::CastSocket;
cast_channel       27 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc using cast_channel::ChannelError;
cast_channel       28 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc using cast_channel::ChannelInfo;
cast_channel       29 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc using cast_channel::MessageInfo;
cast_channel       30 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc using cast_channel::ReadyState;
cast_channel       81 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc                              cast_channel::ChannelError error) {
cast_channel      111 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc   : manager_(NULL), error_(cast_channel::CHANNEL_ERROR_NONE) { }
cast_channel      121 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc   return error_ != cast_channel::CHANNEL_ERROR_NONE;
cast_channel      128 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc     SetResultFromError(cast_channel::CHANNEL_ERROR_INVALID_CHANNEL_ID);
cast_channel      162 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc   channel_info.ready_state = cast_channel::READY_STATE_CLOSED;
cast_channel      232 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc     SetResultFromError(cast_channel::CHANNEL_ERROR_SOCKET_ERROR);
cast_channel      260 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc     SetResultFromError(cast_channel::CHANNEL_ERROR_SOCKET_ERROR);
cast_channel       26 chrome/browser/extensions/api/cast_channel/cast_channel_api.h namespace cast_channel = api::cast_channel;
cast_channel       29 chrome/browser/extensions/api/cast_channel/cast_channel_api.h                        public cast_channel::CastSocket::Delegate {
cast_channel       41 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   scoped_ptr<cast_channel::CastSocket> CreateCastSocket(
cast_channel       47 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   void SetSocketForTest(scoped_ptr<cast_channel::CastSocket> socket_for_test);
cast_channel       56 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   virtual void OnError(const cast_channel::CastSocket* socket,
cast_channel       57 chrome/browser/extensions/api/cast_channel/cast_channel_api.h                        cast_channel::ChannelError error) OVERRIDE;
cast_channel       58 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   virtual void OnMessage(const cast_channel::CastSocket* socket,
cast_channel       59 chrome/browser/extensions/api/cast_channel/cast_channel_api.h                          const cast_channel::MessageInfo& message) OVERRIDE;
cast_channel       65 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   scoped_ptr<cast_channel::CastSocket> socket_for_test_;
cast_channel       84 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   cast_channel::CastSocket* GetSocketOrCompleteWithError(int channel_id);
cast_channel       88 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   int AddSocket(cast_channel::CastSocket* socket);
cast_channel       99 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   void SetResultFromError(cast_channel::ChannelError error);
cast_channel      103 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   cast_channel::CastSocket* GetSocket(int channel_id);
cast_channel      107 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   void SetResultFromChannelInfo(const cast_channel::ChannelInfo& channel_info);
cast_channel      110 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   ApiResourceManager<cast_channel::CastSocket>* manager_;
cast_channel      113 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   cast_channel::ChannelError error_;
cast_channel      133 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   scoped_ptr<cast_channel::Open::Params> params_;
cast_channel      157 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   scoped_ptr<cast_channel::Send::Params> params_;
cast_channel      178 chrome/browser/extensions/api/cast_channel/cast_channel_api.h   scoped_ptr<cast_channel::Close::Params> params_;
cast_channel       20 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc namespace cast_channel =  extensions::api::cast_channel;
cast_channel       21 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc using cast_channel::CastSocket;
cast_channel       22 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc using cast_channel::ChannelInfo;
cast_channel       23 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc using cast_channel::MessageInfo;
cast_channel       96 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc     channel_info->ready_state = cast_channel::READY_STATE_OPEN;
cast_channel       97 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc     channel_info->error_state = cast_channel::CHANNEL_ERROR_NONE;
cast_channel      103 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc     channel_info->ready_state = cast_channel::READY_STATE_CLOSED;
cast_channel      104 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc     channel_info->error_state = cast_channel::CHANNEL_ERROR_NONE;
cast_channel       12 chrome/browser/extensions/api/cast_channel/cast_message_util.h namespace cast_channel {
cast_channel       52 chrome/browser/extensions/api/cast_channel/cast_socket.cc     ApiResourceManager<api::cast_channel::CastSocket> > > g_factory =
cast_channel       58 chrome/browser/extensions/api/cast_channel/cast_socket.cc     ApiResourceManager<api::cast_channel::CastSocket> >*
cast_channel       59 chrome/browser/extensions/api/cast_channel/cast_socket.cc ApiResourceManager<api::cast_channel::CastSocket>::GetFactoryInstance() {
cast_channel      592 chrome/browser/extensions/api/cast_channel/cast_socket.cc       error_state_ = cast_channel::CHANNEL_ERROR_INVALID_MESSAGE;
cast_channel      602 chrome/browser/extensions/api/cast_channel/cast_socket.cc       error_state_ = cast_channel::CHANNEL_ERROR_INVALID_MESSAGE;
cast_channel       37 chrome/browser/extensions/api/cast_channel/cast_socket.h namespace cast_channel {
cast_channel      393 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      394 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      399 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      400 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      417 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      418 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      440 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      441 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      463 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      464 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state());
cast_channel      492 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      493 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      513 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      514 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      528 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      529 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state());
cast_channel      543 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      544 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state());
cast_channel      559 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      560 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state());
cast_channel      575 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      576 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state());
cast_channel      592 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      593 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state());
cast_channel      609 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      610 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state());
cast_channel      626 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      627 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state());
cast_channel      644 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      645 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state());
cast_channel      664 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      665 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_CONNECT_ERROR, socket_->error_state());
cast_channel      680 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      681 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      696 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      697 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      712 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      713 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      728 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      729 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      749 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      750 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      770 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      771 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      783 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_NONE, socket_->ready_state());
cast_channel      784 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      800 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      801 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      813 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc               OnError(socket_.get(), cast_channel::CHANNEL_ERROR_SOCKET_ERROR));
cast_channel      819 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      820 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_SOCKET_ERROR, socket_->error_state());
cast_channel      831 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc               OnError(socket_.get(), cast_channel::CHANNEL_ERROR_SOCKET_ERROR));
cast_channel      837 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      838 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_SOCKET_ERROR, socket_->error_state());
cast_channel      849 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc               OnError(socket_.get(), cast_channel::CHANNEL_ERROR_SOCKET_ERROR));
cast_channel      855 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      856 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_SOCKET_ERROR, socket_->error_state());
cast_channel      870 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc               OnError(socket_.get(), cast_channel::CHANNEL_ERROR_SOCKET_ERROR));
cast_channel      878 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      879 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_SOCKET_ERROR, socket_->error_state());
cast_channel      890 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      891 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      902 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      903 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      914 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      915 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      926 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      927 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      941 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      942 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      956 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_OPEN, socket_->ready_state());
cast_channel      957 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_NONE, socket_->error_state());
cast_channel      966 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc                       cast_channel::CHANNEL_ERROR_SOCKET_ERROR));
cast_channel      969 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      970 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_SOCKET_ERROR, socket_->error_state());
cast_channel      979 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc                       cast_channel::CHANNEL_ERROR_SOCKET_ERROR));
cast_channel      982 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel      983 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_SOCKET_ERROR, socket_->error_state());
cast_channel      996 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc                       cast_channel::CHANNEL_ERROR_INVALID_MESSAGE));
cast_channel      999 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel     1000 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_INVALID_MESSAGE,
cast_channel     1015 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc                       cast_channel::CHANNEL_ERROR_INVALID_MESSAGE));
cast_channel     1018 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::READY_STATE_CLOSED, socket_->ready_state());
cast_channel     1019 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc   EXPECT_EQ(cast_channel::CHANNEL_ERROR_INVALID_MESSAGE,