Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WEBKIT_QUOTA_QUOTA_TEMPORARY_STORAGE_EVICTOR_H_ | |
| 6 #define WEBKIT_QUOTA_QUOTA_TEMPORARY_STORAGE_EVICTOR_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/message_loop.h" | |
| 10 #include "base/message_loop_proxy.h" | |
| 11 #include "webkit/quota/quota_task.h" | |
| 12 | |
| 13 class GURL; | |
| 14 | |
| 15 namespace quota { | |
| 16 | |
| 17 class QuotaTemporaryStorageEvictor { | |
| 18 public: | |
| 19 QuotaTemporaryStorageEvictor( | |
| 20 QuotaManager* manager, | |
| 21 QuotaDatabase* database, | |
| 22 scoped_refptr<base::MessageLoopProxy> db_message_loop); | |
| 23 virtual ~QuotaTemporaryStorageEvictor(); | |
| 24 | |
| 25 virtual void Start(); | |
|
kinuko
2011/05/11 07:49:30
does this need to be virtual?
Dai Mikurube (NOT FULLTIME)
2011/05/11 11:23:50
Exactly. Removed virtual.
| |
| 26 | |
| 27 private: | |
| 28 class EvictTask; | |
| 29 | |
| 30 QuotaManager* manager_; | |
| 31 QuotaDatabase* database_; | |
| 32 scoped_refptr<base::MessageLoopProxy> db_message_loop_; | |
| 33 | |
| 34 DISALLOW_COPY_AND_ASSIGN(QuotaTemporaryStorageEvictor); | |
| 35 }; | |
| 36 | |
| 37 } // namespace quota | |
| 38 | |
| 39 #endif // WEBKIT_QUOTA_QUOTA_TEMPORARY_STORAGE_EVICTOR_H_ | |
| OLD | NEW |