| Index: storage/browser/quota/quota_temporary_storage_evictor.h
|
| diff --git a/webkit/browser/quota/quota_temporary_storage_evictor.h b/storage/browser/quota/quota_temporary_storage_evictor.h
|
| similarity index 89%
|
| rename from webkit/browser/quota/quota_temporary_storage_evictor.h
|
| rename to storage/browser/quota/quota_temporary_storage_evictor.h
|
| index 244fa0f63c590671b35b4c1c6533e6f7ab194f83..15c90cb9489e0d72fc3f0724f17ec23fadabce37 100644
|
| --- a/webkit/browser/quota/quota_temporary_storage_evictor.h
|
| +++ b/storage/browser/quota/quota_temporary_storage_evictor.h
|
| @@ -11,8 +11,8 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/threading/non_thread_safe.h"
|
| #include "base/timer/timer.h"
|
| -#include "webkit/browser/webkit_storage_browser_export.h"
|
| -#include "webkit/common/quota/quota_types.h"
|
| +#include "storage/common/storage_export.h"
|
| +#include "storage/common/quota/quota_types.h"
|
|
|
| class GURL;
|
|
|
| @@ -25,7 +25,7 @@ namespace quota {
|
| class QuotaEvictionHandler;
|
| struct UsageAndQuota;
|
|
|
| -class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE QuotaTemporaryStorageEvictor
|
| +class STORAGE_EXPORT_PRIVATE QuotaTemporaryStorageEvictor
|
| : public base::NonThreadSafe {
|
| public:
|
| struct Statistics {
|
| @@ -66,9 +66,8 @@ class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE QuotaTemporaryStorageEvictor
|
| int64 num_evicted_origins_in_round;
|
| };
|
|
|
| - QuotaTemporaryStorageEvictor(
|
| - QuotaEvictionHandler* quota_eviction_handler,
|
| - int64 interval_ms);
|
| + QuotaTemporaryStorageEvictor(QuotaEvictionHandler* quota_eviction_handler,
|
| + int64 interval_ms);
|
| virtual ~QuotaTemporaryStorageEvictor();
|
|
|
| void GetStatistics(std::map<std::string, int64>* statistics);
|
| @@ -92,9 +91,8 @@ class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE QuotaTemporaryStorageEvictor
|
|
|
| void StartEvictionTimerWithDelay(int delay_ms);
|
| void ConsiderEviction();
|
| - void OnGotUsageAndQuotaForEviction(
|
| - QuotaStatusCode status,
|
| - const UsageAndQuota& quota_and_usage);
|
| + void OnGotUsageAndQuotaForEviction(QuotaStatusCode status,
|
| + const UsageAndQuota& quota_and_usage);
|
| void OnGotLRUOrigin(const GURL& origin);
|
| void OnEvictionComplete(QuotaStatusCode status);
|
|
|
|
|