CastChannelAPI 46 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc CastChannelAPI::CastChannelAPI(content::BrowserContext* context) CastChannelAPI 52 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc CastChannelAPI* CastChannelAPI::Get(content::BrowserContext* context) { CastChannelAPI 53 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc return BrowserContextKeyedAPIFactory<CastChannelAPI>::Get(context); CastChannelAPI 56 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc static base::LazyInstance<BrowserContextKeyedAPIFactory<CastChannelAPI> > CastChannelAPI 60 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc BrowserContextKeyedAPIFactory<CastChannelAPI>* CastChannelAPI 61 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc CastChannelAPI::GetFactoryInstance() { CastChannelAPI 65 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc scoped_ptr<CastSocket> CastChannelAPI::CreateCastSocket( CastChannelAPI 76 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc void CastChannelAPI::SetSocketForTest(scoped_ptr<CastSocket> socket_for_test) { CastChannelAPI 80 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc void CastChannelAPI::OnError(const CastSocket* socket, CastChannelAPI 93 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc void CastChannelAPI::OnMessage(const CastSocket* socket, CastChannelAPI 108 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc CastChannelAPI::~CastChannelAPI() {} CastChannelAPI 186 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc api_ = CastChannelAPI::Get(browser_context()); CastChannelAPI 28 chrome/browser/extensions/api/cast_channel/cast_channel_api.h class CastChannelAPI : public BrowserContextKeyedAPI, CastChannelAPI 32 chrome/browser/extensions/api/cast_channel/cast_channel_api.h explicit CastChannelAPI(content::BrowserContext* context); CastChannelAPI 34 chrome/browser/extensions/api/cast_channel/cast_channel_api.h static CastChannelAPI* Get(content::BrowserContext* context); CastChannelAPI 37 chrome/browser/extensions/api/cast_channel/cast_channel_api.h static BrowserContextKeyedAPIFactory<CastChannelAPI>* GetFactoryInstance(); CastChannelAPI 50 chrome/browser/extensions/api/cast_channel/cast_channel_api.h friend class BrowserContextKeyedAPIFactory<CastChannelAPI>; CastChannelAPI 53 chrome/browser/extensions/api/cast_channel/cast_channel_api.h virtual ~CastChannelAPI(); CastChannelAPI 67 chrome/browser/extensions/api/cast_channel/cast_channel_api.h DISALLOW_COPY_AND_ASSIGN(CastChannelAPI); CastChannelAPI 136 chrome/browser/extensions/api/cast_channel/cast_channel_api.h CastChannelAPI* api_; CastChannelAPI 82 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc extensions::CastChannelAPI* api = GetApi(); CastChannelAPI 89 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc extensions::CastChannelAPI* GetApi() { CastChannelAPI 90 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc return extensions::CastChannelAPI::Get(profile()); CastChannelAPI 116 chrome/browser/extensions/api/cast_channel/cast_channel_apitest.cc void DoCallOnMessage(extensions::CastChannelAPI* api,