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

Unified Diff: storage/browser/quota/quota_temporary_storage_evictor.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | « storage/browser/quota/quota_task.cc ('k') | storage/browser/quota/quota_temporary_storage_evictor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « storage/browser/quota/quota_task.cc ('k') | storage/browser/quota/quota_temporary_storage_evictor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698