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:
@ -50,7 +50,7 @@ class CefReadHandler : public virtual CefBaseRefCounted {
|
||||
// Read raw binary data.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual size_t Read(void* ptr, size_t size, size_t n) =0;
|
||||
virtual size_t Read(void* ptr, size_t size, size_t n) = 0;
|
||||
|
||||
///
|
||||
// Seek to the specified offset position. |whence| may be any one of
|
||||
@ -58,19 +58,19 @@ class CefReadHandler : public virtual CefBaseRefCounted {
|
||||
// failure.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int Seek(int64 offset, int whence) =0;
|
||||
virtual int Seek(int64 offset, int whence) = 0;
|
||||
|
||||
///
|
||||
// Return the current offset position.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int64 Tell() =0;
|
||||
virtual int64 Tell() = 0;
|
||||
|
||||
///
|
||||
// Return non-zero if at end of file.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int Eof() =0;
|
||||
virtual int Eof() = 0;
|
||||
|
||||
///
|
||||
// Return true if this handler performs work like accessing the file system
|
||||
@ -78,10 +78,9 @@ class CefReadHandler : public virtual CefBaseRefCounted {
|
||||
// handler from.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool MayBlock() =0;
|
||||
virtual bool MayBlock() = 0;
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
// Class used to read data from a stream. The methods of this class may be
|
||||
// called on any thread.
|
||||
@ -110,7 +109,7 @@ class CefStreamReader : public virtual CefBaseRefCounted {
|
||||
// Read raw binary data.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual size_t Read(void* ptr, size_t size, size_t n) =0;
|
||||
virtual size_t Read(void* ptr, size_t size, size_t n) = 0;
|
||||
|
||||
///
|
||||
// Seek to the specified offset position. |whence| may be any one of
|
||||
@ -118,19 +117,19 @@ class CefStreamReader : public virtual CefBaseRefCounted {
|
||||
// failure.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int Seek(int64 offset, int whence) =0;
|
||||
virtual int Seek(int64 offset, int whence) = 0;
|
||||
|
||||
///
|
||||
// Return the current offset position.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int64 Tell() =0;
|
||||
virtual int64 Tell() = 0;
|
||||
|
||||
///
|
||||
// Return non-zero if at end of file.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int Eof() =0;
|
||||
virtual int Eof() = 0;
|
||||
|
||||
///
|
||||
// Returns true if this reader performs work like accessing the file system
|
||||
@ -138,10 +137,9 @@ class CefStreamReader : public virtual CefBaseRefCounted {
|
||||
// reader from.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool MayBlock() =0;
|
||||
virtual bool MayBlock() = 0;
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
// Interface the client can implement to provide a custom stream writer. The
|
||||
// methods of this class may be called on any thread.
|
||||
@ -153,7 +151,7 @@ class CefWriteHandler : public virtual CefBaseRefCounted {
|
||||
// Write raw binary data.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual size_t Write(const void* ptr, size_t size, size_t n) =0;
|
||||
virtual size_t Write(const void* ptr, size_t size, size_t n) = 0;
|
||||
|
||||
///
|
||||
// Seek to the specified offset position. |whence| may be any one of
|
||||
@ -161,19 +159,19 @@ class CefWriteHandler : public virtual CefBaseRefCounted {
|
||||
// failure.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int Seek(int64 offset, int whence) =0;
|
||||
virtual int Seek(int64 offset, int whence) = 0;
|
||||
|
||||
///
|
||||
// Return the current offset position.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int64 Tell() =0;
|
||||
virtual int64 Tell() = 0;
|
||||
|
||||
///
|
||||
// Flush the stream.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int Flush() =0;
|
||||
virtual int Flush() = 0;
|
||||
|
||||
///
|
||||
// Return true if this handler performs work like accessing the file system
|
||||
@ -181,10 +179,9 @@ class CefWriteHandler : public virtual CefBaseRefCounted {
|
||||
// handler from.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool MayBlock() =0;
|
||||
virtual bool MayBlock() = 0;
|
||||
};
|
||||
|
||||
|
||||
///
|
||||
// Class used to write data to a stream. The methods of this class may be called
|
||||
// on any thread.
|
||||
@ -208,7 +205,7 @@ class CefStreamWriter : public virtual CefBaseRefCounted {
|
||||
// Write raw binary data.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual size_t Write(const void* ptr, size_t size, size_t n) =0;
|
||||
virtual size_t Write(const void* ptr, size_t size, size_t n) = 0;
|
||||
|
||||
///
|
||||
// Seek to the specified offset position. |whence| may be any one of
|
||||
@ -216,19 +213,19 @@ class CefStreamWriter : public virtual CefBaseRefCounted {
|
||||
// failure.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int Seek(int64 offset, int whence) =0;
|
||||
virtual int Seek(int64 offset, int whence) = 0;
|
||||
|
||||
///
|
||||
// Return the current offset position.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int64 Tell() =0;
|
||||
virtual int64 Tell() = 0;
|
||||
|
||||
///
|
||||
// Flush the stream.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual int Flush() =0;
|
||||
virtual int Flush() = 0;
|
||||
|
||||
///
|
||||
// Returns true if this writer performs work like accessing the file system
|
||||
@ -236,7 +233,7 @@ class CefStreamWriter : public virtual CefBaseRefCounted {
|
||||
// writer from.
|
||||
///
|
||||
/*--cef()--*/
|
||||
virtual bool MayBlock() =0;
|
||||
virtual bool MayBlock() = 0;
|
||||
};
|
||||
|
||||
#endif // CEF_INCLUDE_CEF_STREAM_H_
|
||||
|
Reference in New Issue
Block a user