OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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" | |
15 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
16 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
18 #include "base/time.h" | 17 #include "base/time.h" |
19 #include "chrome/browser/browsing_data_quota_helper.h" | 18 #include "chrome/browser/browsing_data_quota_helper.h" |
20 #include "content/public/browser/browser_thread.h" | 19 #include "content/public/browser/browser_thread.h" |
21 #include "webkit/quota/quota_types.h" | 20 #include "webkit/quota/quota_types.h" |
22 | 21 |
23 namespace quota { | 22 namespace quota { |
24 class QuotaManager; | 23 class QuotaManager; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 scoped_refptr<base::MessageLoopProxy> io_thread_; | 70 scoped_refptr<base::MessageLoopProxy> io_thread_; |
72 base::WeakPtrFactory<BrowsingDataQuotaHelperImpl> weak_factory_; | 71 base::WeakPtrFactory<BrowsingDataQuotaHelperImpl> weak_factory_; |
73 | 72 |
74 friend class BrowsingDataQuotaHelper; | 73 friend class BrowsingDataQuotaHelper; |
75 friend class BrowsingDataQuotaHelperTest; | 74 friend class BrowsingDataQuotaHelperTest; |
76 | 75 |
77 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelperImpl); | 76 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelperImpl); |
78 }; | 77 }; |
79 | 78 |
80 #endif // CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_IMPL_H_ | 79 #endif // CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_IMPL_H_ |
OLD | NEW |