mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove DISALLOW_ macro from libcef/ (see issue #3234)
Also perform related C++ cleanup: - Use =default instead of {} for default implementations of constructors/destructors. - Replace typedef with using.
This commit is contained in:
@@ -17,6 +17,9 @@ class CefCookieManagerImpl : public CefCookieManager {
|
||||
public:
|
||||
CefCookieManagerImpl();
|
||||
|
||||
CefCookieManagerImpl(const CefCookieManagerImpl&) = delete;
|
||||
CefCookieManagerImpl& operator=(const CefCookieManagerImpl&) = delete;
|
||||
|
||||
// Called on the UI thread after object creation and before any other object
|
||||
// methods are executed on the UI thread.
|
||||
void Initialize(CefBrowserContext::Getter browser_context_getter,
|
||||
@@ -61,7 +64,6 @@ class CefCookieManagerImpl : public CefCookieManager {
|
||||
std::vector<base::OnceClosure> init_callbacks_;
|
||||
|
||||
IMPLEMENT_REFCOUNTING(CefCookieManagerImpl);
|
||||
DISALLOW_COPY_AND_ASSIGN(CefCookieManagerImpl);
|
||||
};
|
||||
|
||||
#endif // CEF_LIBCEF_BROWSER_NET_SERVICE_COOKIE_MANAGER_IMPL_H_
|
||||
|
Reference in New Issue
Block a user