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

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

Issue 8539001: Cleanup: Remove unneeded forward declarations in webkit/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « webkit/quota/quota_database.h ('k') | webkit/support/webkit_support.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_QUOTA_QUOTA_TEMPORARY_STORAGE_EVICTOR_H_ 5 #ifndef WEBKIT_QUOTA_QUOTA_TEMPORARY_STORAGE_EVICTOR_H_
6 #define WEBKIT_QUOTA_QUOTA_TEMPORARY_STORAGE_EVICTOR_H_ 6 #define WEBKIT_QUOTA_QUOTA_TEMPORARY_STORAGE_EVICTOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/threading/non_thread_safe.h" 13 #include "base/threading/non_thread_safe.h"
14 #include "base/timer.h" 14 #include "base/timer.h"
15 #include "webkit/quota/quota_types.h" 15 #include "webkit/quota/quota_types.h"
16 16
17 class GURL; 17 class GURL;
18 18
19 namespace base {
20 class MessageLoopProxy;
21 }
22
23 namespace quota { 19 namespace quota {
24 20
25 class QuotaEvictionHandler; 21 class QuotaEvictionHandler;
26 struct QuotaAndUsage; 22 struct QuotaAndUsage;
27 23
28 class QuotaTemporaryStorageEvictor : public base::NonThreadSafe { 24 class QuotaTemporaryStorageEvictor : public base::NonThreadSafe {
29 public: 25 public:
30 struct Statistics { 26 struct Statistics {
31 Statistics() 27 Statistics()
32 : num_errors_on_evicting_origin(0), 28 : num_errors_on_evicting_origin(0),
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 base::OneShotTimer<QuotaTemporaryStorageEvictor> eviction_timer_; 128 base::OneShotTimer<QuotaTemporaryStorageEvictor> eviction_timer_;
133 base::RepeatingTimer<QuotaTemporaryStorageEvictor> histogram_timer_; 129 base::RepeatingTimer<QuotaTemporaryStorageEvictor> histogram_timer_;
134 base::WeakPtrFactory<QuotaTemporaryStorageEvictor> weak_factory_; 130 base::WeakPtrFactory<QuotaTemporaryStorageEvictor> weak_factory_;
135 131
136 DISALLOW_COPY_AND_ASSIGN(QuotaTemporaryStorageEvictor); 132 DISALLOW_COPY_AND_ASSIGN(QuotaTemporaryStorageEvictor);
137 }; 133 };
138 134
139 } // namespace quota 135 } // namespace quota
140 136
141 #endif // WEBKIT_QUOTA_QUOTA_TEMPORARY_STORAGE_EVICTOR_H_ 137 #endif // WEBKIT_QUOTA_QUOTA_TEMPORARY_STORAGE_EVICTOR_H_
OLDNEW
« no previous file with comments | « webkit/quota/quota_database.h ('k') | webkit/support/webkit_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698