format previously misses .cc files
This commit is contained in:
parent
284aca68c0
commit
49c8c31220
36 changed files with 1279 additions and 1411 deletions
|
@ -32,13 +32,11 @@ NetworkDelegate::NetworkDelegate() {
|
|||
}
|
||||
}
|
||||
|
||||
NetworkDelegate::~NetworkDelegate() {
|
||||
}
|
||||
NetworkDelegate::~NetworkDelegate() {}
|
||||
|
||||
int NetworkDelegate::OnBeforeURLRequest(
|
||||
net::URLRequest* request,
|
||||
const net::CompletionCallback& callback,
|
||||
GURL* new_url) {
|
||||
int NetworkDelegate::OnBeforeURLRequest(net::URLRequest* request,
|
||||
const net::CompletionCallback& callback,
|
||||
GURL* new_url) {
|
||||
for (const auto& domain : ignore_connections_limit_domains_) {
|
||||
if (request->url().DomainIs(domain)) {
|
||||
// Allow unlimited concurrent connections.
|
||||
|
@ -60,15 +58,13 @@ int NetworkDelegate::OnBeforeStartTransaction(
|
|||
|
||||
void NetworkDelegate::OnStartTransaction(
|
||||
net::URLRequest* request,
|
||||
const net::HttpRequestHeaders& headers) {
|
||||
}
|
||||
const net::HttpRequestHeaders& headers) {}
|
||||
|
||||
void NetworkDelegate::OnBeforeSendHeaders(
|
||||
net::URLRequest* request,
|
||||
const net::ProxyInfo& proxy_info,
|
||||
const net::ProxyRetryInfoMap& proxy_retry_info,
|
||||
net::HttpRequestHeaders* headers) {
|
||||
}
|
||||
net::HttpRequestHeaders* headers) {}
|
||||
|
||||
int NetworkDelegate::OnHeadersReceived(
|
||||
net::URLRequest* request,
|
||||
|
@ -80,29 +76,22 @@ int NetworkDelegate::OnHeadersReceived(
|
|||
}
|
||||
|
||||
void NetworkDelegate::OnBeforeRedirect(net::URLRequest* request,
|
||||
const GURL& new_location) {
|
||||
}
|
||||
const GURL& new_location) {}
|
||||
|
||||
void NetworkDelegate::OnResponseStarted(net::URLRequest* request) {
|
||||
}
|
||||
void NetworkDelegate::OnResponseStarted(net::URLRequest* request) {}
|
||||
|
||||
void NetworkDelegate::OnNetworkBytesReceived(net::URLRequest* request,
|
||||
int64_t bytes_read) {
|
||||
}
|
||||
int64_t bytes_read) {}
|
||||
|
||||
void NetworkDelegate::OnNetworkBytesSent(net::URLRequest* request,
|
||||
int64_t bytes_sent) {
|
||||
}
|
||||
int64_t bytes_sent) {}
|
||||
|
||||
void NetworkDelegate::OnCompleted(net::URLRequest* request, bool started) {
|
||||
}
|
||||
void NetworkDelegate::OnCompleted(net::URLRequest* request, bool started) {}
|
||||
|
||||
void NetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) {
|
||||
}
|
||||
void NetworkDelegate::OnURLRequestDestroyed(net::URLRequest* request) {}
|
||||
|
||||
void NetworkDelegate::OnPACScriptError(int line_number,
|
||||
const base::string16& error) {
|
||||
}
|
||||
const base::string16& error) {}
|
||||
|
||||
NetworkDelegate::AuthRequiredResponse NetworkDelegate::OnAuthRequired(
|
||||
net::URLRequest* request,
|
||||
|
@ -113,13 +102,13 @@ NetworkDelegate::AuthRequiredResponse NetworkDelegate::OnAuthRequired(
|
|||
}
|
||||
|
||||
bool NetworkDelegate::OnCanGetCookies(const net::URLRequest& request,
|
||||
const net::CookieList& cookie_list) {
|
||||
const net::CookieList& cookie_list) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool NetworkDelegate::OnCanSetCookie(const net::URLRequest& request,
|
||||
const std::string& cookie_line,
|
||||
net::CookieOptions* options) {
|
||||
const std::string& cookie_line,
|
||||
net::CookieOptions* options) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -159,15 +148,13 @@ bool NetworkDelegate::OnCanSendReportingReport(
|
|||
return false;
|
||||
}
|
||||
|
||||
bool NetworkDelegate::OnCanSetReportingClient(
|
||||
const url::Origin& origin,
|
||||
const GURL& endpoint) const {
|
||||
bool NetworkDelegate::OnCanSetReportingClient(const url::Origin& origin,
|
||||
const GURL& endpoint) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool NetworkDelegate::OnCanUseReportingClient(
|
||||
const url::Origin& origin,
|
||||
const GURL& endpoint) const {
|
||||
bool NetworkDelegate::OnCanUseReportingClient(const url::Origin& origin,
|
||||
const GURL& endpoint) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue