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

Unified Diff: webkit/quota/quota_manager.h

Issue 11274003: webkit: Merge 'database' and 'quota' to 'webkit_storage' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More EXPORT for Win Created 8 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 | « webkit/quota/quota_database.h ('k') | webkit/quota/quota_task.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_manager.h
diff --git a/webkit/quota/quota_manager.h b/webkit/quota/quota_manager.h
index cdd104f4f88e1e60c97957addd02599249323c25..62f21d286f0409d5cfd73eefa22fac270db25113 100644
--- a/webkit/quota/quota_manager.h
+++ b/webkit/quota/quota_manager.h
@@ -24,6 +24,7 @@
#include "webkit/quota/quota_database.h"
#include "webkit/quota/quota_task.h"
#include "webkit/quota/special_storage_policy.h"
+#include "webkit/storage/webkit_storage_export.h"
class FilePath;
@@ -54,7 +55,7 @@ struct QuotaAndUsage {
};
// An interface called by QuotaTemporaryStorageEvictor.
-class QuotaEvictionHandler {
+class WEBKIT_STORAGE_EXPORT QuotaEvictionHandler {
public:
typedef base::Callback<void(const GURL&)> GetLRUOriginCallback;
typedef StatusCallback EvictOriginDataCallback;
@@ -93,10 +94,10 @@ struct UsageInfo {
// The quota manager class. This class is instantiated per profile and
// held by the profile. With the exception of the constructor and the
// proxy() method, all methods should only be called on the IO thread.
-class QuotaManager : public QuotaTaskObserver,
- public QuotaEvictionHandler,
- public base::RefCountedThreadSafe<
- QuotaManager, QuotaManagerDeleter> {
+class WEBKIT_STORAGE_EXPORT QuotaManager
+ : public QuotaTaskObserver,
+ public QuotaEvictionHandler,
+ public base::RefCountedThreadSafe<QuotaManager, QuotaManagerDeleter> {
public:
typedef base::Callback<void(QuotaStatusCode,
int64 /* usage */,
@@ -215,6 +216,7 @@ class QuotaManager : public QuotaTaskObserver,
private:
friend class base::DeleteHelper<QuotaManager>;
+ friend class base::RefCountedThreadSafe<QuotaManager, QuotaManagerDeleter>;
friend class MockQuotaManager;
friend class MockStorageClient;
friend class quota_internals::QuotaInternalsProxy;
@@ -418,7 +420,7 @@ struct QuotaManagerDeleter {
};
// The proxy may be called and finally released on any thread.
-class QuotaManagerProxy
+class WEBKIT_STORAGE_EXPORT QuotaManagerProxy
: public base::RefCountedThreadSafe<QuotaManagerProxy> {
public:
virtual void RegisterClient(QuotaClient* client);
« no previous file with comments | « webkit/quota/quota_database.h ('k') | webkit/quota/quota_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698