mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Rename CefBase to CefBaseRefCounted (issue #2090)
This commit is contained in:
@ -55,7 +55,7 @@ class CefByteReadHandler : public CefReadHandler {
|
||||
///
|
||||
CefByteReadHandler(const unsigned char* bytes,
|
||||
size_t size,
|
||||
CefRefPtr<CefBase> source);
|
||||
CefRefPtr<CefBaseRefCounted> source);
|
||||
|
||||
// CefReadHandler methods.
|
||||
virtual size_t Read(void* ptr, size_t size, size_t n) OVERRIDE;
|
||||
@ -68,7 +68,7 @@ class CefByteReadHandler : public CefReadHandler {
|
||||
const unsigned char* bytes_;
|
||||
int64 size_;
|
||||
int64 offset_;
|
||||
CefRefPtr<CefBase> source_;
|
||||
CefRefPtr<CefBaseRefCounted> source_;
|
||||
|
||||
base::Lock lock_;
|
||||
|
||||
|
@ -64,7 +64,7 @@
|
||||
// Example of executing a bound method:
|
||||
//
|
||||
// // Define a class.
|
||||
// class MyClass : public CefBase {
|
||||
// class MyClass : public CefBaseRefCounted {
|
||||
// public:
|
||||
// MyClass() {}
|
||||
// void MyMethod(int arg) { /* do something with |arg| on the UI thread */ }
|
||||
|
@ -223,7 +223,7 @@ class CefMessageRouterBrowserSide :
|
||||
// the callback methods. The methods of this class may be called on any
|
||||
// browser process thread.
|
||||
///
|
||||
class Callback : public CefBase {
|
||||
class Callback : public CefBaseRefCounted {
|
||||
public:
|
||||
///
|
||||
// Notify the associated JavaScript onSuccess callback that the query has
|
||||
|
@ -62,7 +62,7 @@ class CefZipArchive : public base::RefCountedThreadSafe<CefZipArchive> {
|
||||
// Class representing a file in the archive. Accessing the file data from
|
||||
// multiple threads is safe provided a reference to the File object is kept.
|
||||
///
|
||||
class File : public CefBase {
|
||||
class File : public CefBaseRefCounted {
|
||||
public:
|
||||
///
|
||||
// Returns the read-only data contained in the file.
|
||||
|
Reference in New Issue
Block a user