Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Unified Diff: public/platform/WebStorageQuotaCallbacks.h

Issue 676183002: Oilpan: simplify quota storage callbacks objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/StorageQuotaClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebStorageQuotaCallbacks.h
diff --git a/public/platform/WebStorageQuotaCallbacks.h b/public/platform/WebStorageQuotaCallbacks.h
index ca8b8529a064ad9f010ca862165f413f5ff5dbbe..790a0a2a1891d6b854784ca4958b91aec9e1f1c9 100644
--- a/public/platform/WebStorageQuotaCallbacks.h
+++ b/public/platform/WebStorageQuotaCallbacks.h
@@ -35,12 +35,9 @@
#include "WebPrivatePtr.h"
#include "WebStorageQuotaError.h"
-namespace WTF { template <typename T> class PassOwnPtr; }
-
namespace blink {
class StorageQuotaCallbacks;
-class WebStorageQuotaCallbacksPrivate;
class WebStorageQuotaCallbacks {
public:
@@ -57,7 +54,7 @@ public:
BLINK_PLATFORM_EXPORT void assign(const WebStorageQuotaCallbacks&);
#if INSIDE_BLINK
- BLINK_PLATFORM_EXPORT WebStorageQuotaCallbacks(const PassOwnPtrWillBeRawPtr<StorageQuotaCallbacks>&);
+ BLINK_PLATFORM_EXPORT WebStorageQuotaCallbacks(StorageQuotaCallbacks*);
#endif
// Callback for WebFrameClient::queryStorageUsageAndQuota.
@@ -70,7 +67,7 @@ public:
BLINK_PLATFORM_EXPORT void didFail(WebStorageQuotaError);
private:
- WebPrivatePtr<WebStorageQuotaCallbacksPrivate> m_private;
+ WebPrivatePtr<StorageQuotaCallbacks> m_private;
};
} // namespace blink
« no previous file with comments | « Source/web/StorageQuotaClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698