mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove CEF-specific integer and char16 typedef's (see #3507)
This commit is contained in:
@@ -155,7 +155,7 @@ class AcceptWebSocketCallback : public CefCallback {
|
||||
|
||||
// static
|
||||
void CefServer::CreateServer(const CefString& address,
|
||||
uint16 port,
|
||||
uint16_t port,
|
||||
int backlog,
|
||||
CefRefPtr<CefServerHandler> handler) {
|
||||
CefRefPtr<CefServerImpl> server(new CefServerImpl(handler));
|
||||
@@ -178,7 +178,7 @@ CefServerImpl::CefServerImpl(CefRefPtr<CefServerHandler> handler)
|
||||
}
|
||||
|
||||
void CefServerImpl::Start(const std::string& address,
|
||||
uint16 port,
|
||||
uint16_t port,
|
||||
int backlog) {
|
||||
DCHECK(!address.empty());
|
||||
CEF_POST_TASK(CEF_UIT, base::BindOnce(&CefServerImpl::StartOnUIThread, this,
|
||||
@@ -280,7 +280,7 @@ void CefServerImpl::SendHttp500Response(int connection_id,
|
||||
void CefServerImpl::SendHttpResponse(int connection_id,
|
||||
int response_code,
|
||||
const CefString& content_type,
|
||||
int64 content_length,
|
||||
int64_t content_length,
|
||||
const HeaderMap& extra_headers) {
|
||||
if (!CEF_CURRENTLY_ON_HT()) {
|
||||
CEF_POST_TASK_HT(base::BindOnce(&CefServerImpl::SendHttpResponse, this,
|
||||
@@ -540,7 +540,7 @@ void CefServerImpl::OnClose(int connection_id) {
|
||||
}
|
||||
|
||||
void CefServerImpl::StartOnUIThread(const std::string& address,
|
||||
uint16 port,
|
||||
uint16_t port,
|
||||
int backlog) {
|
||||
CEF_REQUIRE_UIT();
|
||||
DCHECK(!thread_);
|
||||
@@ -562,7 +562,7 @@ void CefServerImpl::StartOnUIThread(const std::string& address,
|
||||
}
|
||||
|
||||
void CefServerImpl::StartOnHandlerThread(const std::string& address,
|
||||
uint16 port,
|
||||
uint16_t port,
|
||||
int backlog) {
|
||||
CEF_REQUIRE_HT();
|
||||
|
||||
|
Reference in New Issue
Block a user