OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CastSocket
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/extensions/browser/api/cast_channel/
cast_channel_api.h
42
public cast_channel::
CastSocket
::Delegate {
59
// Sets the
CastSocket
instance to be returned by CreateCastSocket for
61
void SetSocketForTest(scoped_ptr<cast_channel::
CastSocket
> socket_for_test);
63
// Returns a test
CastSocket
instance, if it is defined.
65
scoped_ptr<cast_channel::
CastSocket
> GetSocketForTest();
73
//
CastSocket
::Delegate. Called on IO thread.
74
virtual void OnError(const cast_channel::
CastSocket
* socket,
77
virtual void OnMessage(const cast_channel::
CastSocket
* socket,
85
scoped_ptr<cast_channel::
CastSocket
> socket_for_test_;
104
cast_channel::
CastSocket
* GetSocketOrCompleteWithError(int channel_id)
[
all
...]
cast_socket.cc
56
ApiResourceManager<core_api::cast_channel::
CastSocket
> > > g_factory =
62
ApiResourceManager<core_api::cast_channel::
CastSocket
> >*
63
ApiResourceManager<core_api::cast_channel::
CastSocket
>::GetFactoryInstance() {
69
CastSocket
::
CastSocket
(const std::string& owner_extension_id,
72
CastSocket
::Delegate* delegate,
84
connect_timeout_timer_(new base::OneShotTimer<
CastSocket
>),
103
CastSocket
::~
CastSocket
() {
109
ReadyState
CastSocket
::ready_state() const
[
all
...]
cast_socket.h
46
// Cast device. All
CastSocket
objects must be used only on the IO thread.
50
// TODO(kmarshall): Inherit from
CastSocket
and rename to CastSocketImpl.
51
class
CastSocket
: public ApiResource {
53
// Object to be informed of incoming messages and errors. The
CastSocket
60
virtual void OnError(const
CastSocket
* socket,
64
virtual void OnMessage(const
CastSocket
* socket,
71
// Creates a new
CastSocket
that connects to |ip_endpoint| with
74
CastSocket
(const std::string& owner_extension_id,
77
CastSocket
::Delegate* delegate,
83
virtual ~
CastSocket
();
[
all
...]
cast_channel_api.cc
37
using cast_channel::
CastSocket
;
61
void FillChannelInfo(const
CastSocket
& socket, ChannelInfo* channel_info) {
134
void CastChannelAPI::SetSocketForTest(scoped_ptr<
CastSocket
> socket_for_test) {
138
scoped_ptr<cast_channel::
CastSocket
> CastChannelAPI::GetSocketForTest() {
142
void CastChannelAPI::OnError(const
CastSocket
* socket,
158
void CastChannelAPI::OnMessage(const
CastSocket
* socket,
180
manager_ = ApiResourceManager<
CastSocket
>::Get(browser_context());
188
CastSocket
* CastChannelAsyncApiFunction::GetSocketOrCompleteWithError(
190
CastSocket
* socket = GetSocket(channel_id);
199
int CastChannelAsyncApiFunction::AddSocket(
CastSocket
* socket)
[
all
...]
cast_channel_apitest.cc
30
using cast_channel::
CastSocket
;
70
class MockCastSocket : public
CastSocket
{
72
explicit MockCastSocket(
CastSocket
::Delegate* delegate,
76
:
CastSocket
(kTestExtensionId,
115
make_scoped_ptr<
CastSocket
>(mock_cast_socket_).Pass());
logger.h
45
void LogNewSocketEvent(const
CastSocket
& cast_socket);
cast_socket_unittest.cc
77
class MockCastSocketDelegate : public
CastSocket
::Delegate {
80
void(const
CastSocket
* socket,
84
void(const
CastSocket
* socket, const MessageInfo& message));
151
class TestCastSocket : public
CastSocket
{
178
:
CastSocket
("abcdefg",
402
// Sets up
CastSocket
::Connect to succeed.
[
all
...]
logger.cc
122
void Logger::LogNewSocketEvent(const
CastSocket
& cast_socket) {
Completed in 72 milliseconds