mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Apply clang-format to all C, C++ and ObjC files (issue #2171)
This commit is contained in:
@ -85,26 +85,26 @@ class CefURLRequest : public virtual CefBaseRefCounted {
|
||||
// object is read-only and should not be modified.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual CefRefPtr<CefRequest> GetRequest() =0;
|
||||
virtual CefRefPtr<CefRequest> GetRequest() = 0;
|
||||
|
||||
///
|
||||
// Returns the client.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual CefRefPtr<CefURLRequestClient> GetClient() =0;
|
||||
virtual CefRefPtr<CefURLRequestClient> GetClient() = 0;
|
||||
|
||||
///
|
||||
// Returns the request status.
|
||||
///
|
||||
/*--cef(default_retval=UR_UNKNOWN)--*/
|
||||
virtual Status GetRequestStatus() =0;
|
||||
virtual Status GetRequestStatus() = 0;
|
||||
|
||||
///
|
||||
// Returns the request error if status is UR_CANCELED or UR_FAILED, or 0
|
||||
// otherwise.
|
||||
///
|
||||
/*--cef(default_retval=ERR_NONE)--*/
|
||||
virtual ErrorCode GetRequestError() =0;
|
||||
virtual ErrorCode GetRequestError() = 0;
|
||||
|
||||
///
|
||||
// Returns the response, or NULL if no response information is available.
|
||||
@ -112,13 +112,13 @@ class CefURLRequest : public virtual CefBaseRefCounted {
|
||||
// The returned object is read-only and should not be modified.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual CefRefPtr<CefResponse> GetResponse() =0;
|
||||
virtual CefRefPtr<CefResponse> GetResponse() = 0;
|
||||
|
||||
///
|
||||
// Cancel the request.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void Cancel() =0;
|
||||
virtual void Cancel() = 0;
|
||||
};
|
||||
|
||||
///
|
||||
@ -135,7 +135,7 @@ class CefURLRequestClient : public virtual CefBaseRefCounted {
|
||||
// successful or not.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual void OnRequestComplete(CefRefPtr<CefURLRequest> request) =0;
|
||||
virtual void OnRequestComplete(CefRefPtr<CefURLRequest> request) = 0;
|
||||
|
||||
///
|
||||
// Notifies the client of upload progress. |current| denotes the number of
|
||||
@ -146,7 +146,7 @@ class CefURLRequestClient : public virtual CefBaseRefCounted {
|
||||
/*--cef()--*/
|
||||
virtual void OnUploadProgress(CefRefPtr<CefURLRequest> request,
|
||||
int64 current,
|
||||
int64 total) =0;
|
||||
int64 total) = 0;
|
||||
|
||||
///
|
||||
// Notifies the client of download progress. |current| denotes the number of
|
||||
@ -156,7 +156,7 @@ class CefURLRequestClient : public virtual CefBaseRefCounted {
|
||||
/*--cef()--*/
|
||||
virtual void OnDownloadProgress(CefRefPtr<CefURLRequest> request,
|
||||
int64 current,
|
||||
int64 total) =0;
|
||||
int64 total) = 0;
|
||||
|
||||
///
|
||||
// Called when some part of the response is read. |data| contains the current
|
||||
@ -166,7 +166,7 @@ class CefURLRequestClient : public virtual CefBaseRefCounted {
|
||||
/*--cef()--*/
|
||||
virtual void OnDownloadData(CefRefPtr<CefURLRequest> request,
|
||||
const void* data,
|
||||
size_t data_length) =0;
|
||||
size_t data_length) = 0;
|
||||
|
||||
///
|
||||
// Called on the IO thread when the browser needs credentials from the user.
|
||||
@ -182,7 +182,7 @@ class CefURLRequestClient : public virtual CefBaseRefCounted {
|
||||
int port,
|
||||
const CefString& realm,
|
||||
const CefString& scheme,
|
||||
CefRefPtr<CefAuthCallback> callback) =0;
|
||||
CefRefPtr<CefAuthCallback> callback) = 0;
|
||||
};
|
||||
|
||||
#endif // CEF_INCLUDE_CEF_URLREQUEST_H_
|
||||
|
Reference in New Issue
Block a user