Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: extensions/browser/api/socket/socket_api.h

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/api/socket/socket_api.h
diff --git a/extensions/browser/api/socket/socket_api.h b/extensions/browser/api/socket/socket_api.h
index 9f4fda700bab9599db618cc869c63f39981ad81b..5e983ab7d322ccdb1c16979a9cdabda864fee72d 100644
--- a/extensions/browser/api/socket/socket_api.h
+++ b/extensions/browser/api/socket/socket_api.h
@@ -176,7 +176,7 @@ class SocketCreateFunction : public SocketAsyncApiFunction {
FRIEND_TEST_ALL_PREFIXES(SocketUnitTest, Create);
enum SocketType { kSocketTypeInvalid = -1, kSocketTypeTCP, kSocketTypeUDP };
- scoped_ptr<core_api::socket::Create::Params> params_;
+ scoped_ptr<api::socket::Create::Params> params_;
SocketType socket_type_;
};
@@ -266,7 +266,7 @@ class SocketListenFunction : public SocketAsyncApiFunction {
void AsyncWorkStart() override;
private:
- scoped_ptr<core_api::socket::Listen::Params> params_;
+ scoped_ptr<api::socket::Listen::Params> params_;
};
class SocketAcceptFunction : public SocketAsyncApiFunction {
@@ -285,7 +285,7 @@ class SocketAcceptFunction : public SocketAsyncApiFunction {
private:
void OnAccept(int result_code, net::TCPClientSocket* socket);
- scoped_ptr<core_api::socket::Accept::Params> params_;
+ scoped_ptr<api::socket::Accept::Params> params_;
};
class SocketReadFunction : public SocketAsyncApiFunction {
@@ -303,7 +303,7 @@ class SocketReadFunction : public SocketAsyncApiFunction {
void OnCompleted(int result, scoped_refptr<net::IOBuffer> io_buffer);
private:
- scoped_ptr<core_api::socket::Read::Params> params_;
+ scoped_ptr<api::socket::Read::Params> params_;
};
class SocketWriteFunction : public SocketAsyncApiFunction {
@@ -344,7 +344,7 @@ class SocketRecvFromFunction : public SocketAsyncApiFunction {
uint16 port);
private:
- scoped_ptr<core_api::socket::RecvFrom::Params> params_;
+ scoped_ptr<api::socket::RecvFrom::Params> params_;
};
class SocketSendToFunction : public SocketExtensionWithDnsLookupFunction {
@@ -388,7 +388,7 @@ class SocketSetKeepAliveFunction : public SocketAsyncApiFunction {
void Work() override;
private:
- scoped_ptr<core_api::socket::SetKeepAlive::Params> params_;
+ scoped_ptr<api::socket::SetKeepAlive::Params> params_;
};
class SocketSetNoDelayFunction : public SocketAsyncApiFunction {
@@ -405,7 +405,7 @@ class SocketSetNoDelayFunction : public SocketAsyncApiFunction {
void Work() override;
private:
- scoped_ptr<core_api::socket::SetNoDelay::Params> params_;
+ scoped_ptr<api::socket::SetNoDelay::Params> params_;
};
class SocketGetInfoFunction : public SocketAsyncApiFunction {
@@ -422,7 +422,7 @@ class SocketGetInfoFunction : public SocketAsyncApiFunction {
void Work() override;
private:
- scoped_ptr<core_api::socket::GetInfo::Params> params_;
+ scoped_ptr<api::socket::GetInfo::Params> params_;
};
class SocketGetNetworkListFunction : public AsyncExtensionFunction {
@@ -453,7 +453,7 @@ class SocketJoinGroupFunction : public SocketAsyncApiFunction {
void Work() override;
private:
- scoped_ptr<core_api::socket::JoinGroup::Params> params_;
+ scoped_ptr<api::socket::JoinGroup::Params> params_;
};
class SocketLeaveGroupFunction : public SocketAsyncApiFunction {
@@ -470,7 +470,7 @@ class SocketLeaveGroupFunction : public SocketAsyncApiFunction {
void Work() override;
private:
- scoped_ptr<core_api::socket::LeaveGroup::Params> params_;
+ scoped_ptr<api::socket::LeaveGroup::Params> params_;
};
class SocketSetMulticastTimeToLiveFunction : public SocketAsyncApiFunction {
@@ -488,7 +488,7 @@ class SocketSetMulticastTimeToLiveFunction : public SocketAsyncApiFunction {
void Work() override;
private:
- scoped_ptr<core_api::socket::SetMulticastTimeToLive::Params> params_;
+ scoped_ptr<api::socket::SetMulticastTimeToLive::Params> params_;
};
class SocketSetMulticastLoopbackModeFunction : public SocketAsyncApiFunction {
@@ -506,7 +506,7 @@ class SocketSetMulticastLoopbackModeFunction : public SocketAsyncApiFunction {
void Work() override;
private:
- scoped_ptr<core_api::socket::SetMulticastLoopbackMode::Params> params_;
+ scoped_ptr<api::socket::SetMulticastLoopbackMode::Params> params_;
};
class SocketGetJoinedGroupsFunction : public SocketAsyncApiFunction {
@@ -524,7 +524,7 @@ class SocketGetJoinedGroupsFunction : public SocketAsyncApiFunction {
void Work() override;
private:
- scoped_ptr<core_api::socket::GetJoinedGroups::Params> params_;
+ scoped_ptr<api::socket::GetJoinedGroups::Params> params_;
};
class SocketSecureFunction : public SocketAsyncApiFunction {
@@ -543,7 +543,7 @@ class SocketSecureFunction : public SocketAsyncApiFunction {
// Callback from TLSSocket::UpgradeSocketToTLS().
void TlsConnectDone(scoped_ptr<TLSSocket> socket, int result);
- scoped_ptr<core_api::socket::Secure::Params> params_;
+ scoped_ptr<api::socket::Secure::Params> params_;
scoped_refptr<net::URLRequestContextGetter> url_request_getter_;
DISALLOW_COPY_AND_ASSIGN(SocketSecureFunction);
« no previous file with comments | « extensions/browser/api/serial/serial_event_dispatcher.cc ('k') | extensions/browser/api/socket/socket_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698