Rename CefBase to CefBaseRefCounted (issue #2090)

This commit is contained in:
Marshall Greenblatt
2017-02-09 17:07:43 -05:00
parent 07ba48b082
commit 0afcb82ee6
679 changed files with 2066 additions and 1962 deletions

View File

@ -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_;

View File

@ -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 */ }

View File

@ -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

View File

@ -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.