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:
@@ -22,7 +22,7 @@ namespace {
|
||||
|
||||
// Must use a different port than test_server.cc.
|
||||
const char kTestServerAddress[] = "127.0.0.1";
|
||||
const uint16 kTestServerPort = 8099;
|
||||
const uint16_t kTestServerPort = 8099;
|
||||
const int kTestTimeout = 5000;
|
||||
|
||||
std::string GetTestServerOrigin(bool is_websocket) {
|
||||
@@ -740,7 +740,7 @@ void SendHttpServerResponse(CefRefPtr<CefServer> server,
|
||||
connection_id, response.response_code, response.content_type,
|
||||
response.no_content_length
|
||||
? -1
|
||||
: static_cast<int64>(response.content.size()),
|
||||
: static_cast<int64_t>(response.content.size()),
|
||||
response.extra_headers);
|
||||
if (!response.content.empty()) {
|
||||
server->SendRawData(connection_id, response.content.data(),
|
||||
@@ -905,12 +905,12 @@ class StaticHttpURLRequestClient : public CefURLRequestClient {
|
||||
}
|
||||
|
||||
void OnUploadProgress(CefRefPtr<CefURLRequest> request,
|
||||
int64 current,
|
||||
int64 total) override {}
|
||||
int64_t current,
|
||||
int64_t total) override {}
|
||||
|
||||
void OnDownloadProgress(CefRefPtr<CefURLRequest> request,
|
||||
int64 current,
|
||||
int64 total) override {}
|
||||
int64_t current,
|
||||
int64_t total) override {}
|
||||
|
||||
void OnDownloadData(CefRefPtr<CefURLRequest> request,
|
||||
const void* data,
|
||||
@@ -1203,7 +1203,7 @@ class WebSocketTestHandler : public RoutingTestHandler {
|
||||
|
||||
bool OnQuery(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
int64 query_id,
|
||||
int64_t query_id,
|
||||
const CefString& request,
|
||||
bool persistent,
|
||||
CefRefPtr<Callback> callback) override {
|
||||
|
Reference in New Issue
Block a user