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

Side by Side Diff: webkit/quota/quota_temporary_storage_evictor.h

Issue 7002024: Implement QuotaTemporaryStorageEvictor. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698