Apply clang-format to all C, C++ and ObjC files (issue #2171)

This commit is contained in:
Marshall Greenblatt
2017-05-17 11:29:28 +02:00
parent a566549e04
commit 31d9407ee2
1331 changed files with 33014 additions and 32258 deletions

View File

@@ -9,6 +9,8 @@
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
// $hash=1719a5ddf35f1269ee759b2b0cd5682bef6ed2e1$
//
#ifndef CEF_LIBCEF_DLL_CTOCPP_REQUEST_CTOCPP_H_
#define CEF_LIBCEF_DLL_CTOCPP_REQUEST_CTOCPP_H_
@@ -18,8 +20,8 @@
#error This file can be included wrapper-side only
#endif
#include "include/cef_request.h"
#include "include/capi/cef_request_capi.h"
#include "include/cef_request.h"
#include "libcef_dll/ctocpp/ctocpp_ref_counted.h"
// Wrap a C structure with a C++ class.
@@ -36,15 +38,17 @@ class CefRequestCToCpp
CefString GetMethod() OVERRIDE;
void SetMethod(const CefString& method) OVERRIDE;
void SetReferrer(const CefString& referrer_url,
ReferrerPolicy policy) OVERRIDE;
ReferrerPolicy policy) OVERRIDE;
CefString GetReferrerURL() OVERRIDE;
ReferrerPolicy GetReferrerPolicy() OVERRIDE;
CefRefPtr<CefPostData> GetPostData() OVERRIDE;
void SetPostData(CefRefPtr<CefPostData> postData) OVERRIDE;
void GetHeaderMap(HeaderMap& headerMap) OVERRIDE;
void SetHeaderMap(const HeaderMap& headerMap) OVERRIDE;
void Set(const CefString& url, const CefString& method,
CefRefPtr<CefPostData> postData, const HeaderMap& headerMap) OVERRIDE;
void Set(const CefString& url,
const CefString& method,
CefRefPtr<CefPostData> postData,
const HeaderMap& headerMap) OVERRIDE;
int GetFlags() OVERRIDE;
void SetFlags(int flags) OVERRIDE;
CefString GetFirstPartyForCookies() OVERRIDE;