| Index: chrome/browser/extensions/api/cast_channel/cast_channel_api.h
|
| diff --git a/chrome/browser/extensions/api/cast_channel/cast_channel_api.h b/chrome/browser/extensions/api/cast_channel/cast_channel_api.h
|
| index e24b7a7d840fbb333649225d996329718b51d15c..6d60de2127f2ee3dd3b99f04a8b2957d1b65681b 100644
|
| --- a/chrome/browser/extensions/api/cast_channel/cast_channel_api.h
|
| +++ b/chrome/browser/extensions/api/cast_channel/cast_channel_api.h
|
| @@ -137,12 +137,12 @@
|
| // corresponding details, and returns true. Returns false if |url| is not a
|
| // valid Cast URL.
|
| static bool ParseChannelUrl(const GURL& url,
|
| - cast_channel::ConnectInfo* connect_info);
|
| + api::cast_channel::ConnectInfo* connect_info);
|
|
|
| // Validates that |connect_info| represents a valid IP end point and returns a
|
| // new IPEndPoint if so. Otherwise returns NULL.
|
| static net::IPEndPoint* ParseConnectInfo(
|
| - const cast_channel::ConnectInfo& connect_info);
|
| + const api::cast_channel::ConnectInfo& connect_info);
|
|
|
| void OnOpen(int result);
|
|
|
| @@ -150,18 +150,12 @@
|
| // The id of the newly opened socket.
|
| int new_channel_id_;
|
| CastChannelAPI* api_;
|
| - scoped_ptr<cast_channel::ConnectInfo> connect_info_;
|
| + scoped_ptr<api::cast_channel::ConnectInfo> connect_info_;
|
| scoped_ptr<net::IPEndPoint> ip_endpoint_;
|
| - cast_channel::ChannelAuthType channel_auth_;
|
| + api::cast_channel::ChannelAuthType channel_auth_;
|
|
|
| FRIEND_TEST_ALL_PREFIXES(CastChannelOpenFunctionTest, TestParseChannelUrl);
|
| FRIEND_TEST_ALL_PREFIXES(CastChannelOpenFunctionTest, TestParseConnectInfo);
|
| - FRIEND_TEST_ALL_PREFIXES(CastChannelOpenFunctionTest, TestPrepareValidUrl);
|
| - FRIEND_TEST_ALL_PREFIXES(CastChannelOpenFunctionTest, TestPrepareInvalidUrl);
|
| - FRIEND_TEST_ALL_PREFIXES(CastChannelOpenFunctionTest,
|
| - TestPrepareValidConnectInfo);
|
| - FRIEND_TEST_ALL_PREFIXES(CastChannelOpenFunctionTest,
|
| - TestPrepareInvalidConnectInfo);
|
| DISALLOW_COPY_AND_ASSIGN(CastChannelOpenFunction);
|
| };
|
|
|
| @@ -183,10 +177,6 @@
|
|
|
| scoped_ptr<cast_channel::Send::Params> params_;
|
|
|
| - FRIEND_TEST_ALL_PREFIXES(CastChannelSendFunctionTest,
|
| - TestPrepareValidMessageInfo);
|
| - FRIEND_TEST_ALL_PREFIXES(CastChannelSendFunctionTest,
|
| - TestPrepareInvalidMessageInfo);
|
| DISALLOW_COPY_AND_ASSIGN(CastChannelSendFunction);
|
| };
|
|
|
|
|