OLD | NEW |
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 CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_IMPL_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_IMPL_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <utility> | 12 #include <utility> |
13 | 13 |
14 #include "base/callback_old.h" | 14 #include "base/callback_old.h" |
15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_callback_factory.h" | |
18 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
19 #include "base/time.h" | 18 #include "base/time.h" |
20 #include "chrome/browser/browsing_data_quota_helper.h" | 19 #include "chrome/browser/browsing_data_quota_helper.h" |
21 #include "content/public/browser/browser_thread.h" | 20 #include "content/public/browser/browser_thread.h" |
22 #include "webkit/quota/quota_types.h" | 21 #include "webkit/quota/quota_types.h" |
23 | 22 |
24 namespace quota { | 23 namespace quota { |
25 class QuotaManager; | 24 class QuotaManager; |
26 } | 25 } |
27 | 26 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 scoped_refptr<base::MessageLoopProxy> io_thread_; | 71 scoped_refptr<base::MessageLoopProxy> io_thread_; |
73 base::WeakPtrFactory<BrowsingDataQuotaHelperImpl> weak_factory_; | 72 base::WeakPtrFactory<BrowsingDataQuotaHelperImpl> weak_factory_; |
74 | 73 |
75 friend class BrowsingDataQuotaHelper; | 74 friend class BrowsingDataQuotaHelper; |
76 friend class BrowsingDataQuotaHelperTest; | 75 friend class BrowsingDataQuotaHelperTest; |
77 | 76 |
78 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelperImpl); | 77 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelperImpl); |
79 }; | 78 }; |
80 | 79 |
81 #endif // CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_IMPL_H_ | 80 #endif // CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_IMPL_H_ |
OLD | NEW |