OLD | NEW |
1 // Copyright (c) 2012 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_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/message_loop_helpers.h" | |
15 #include "base/message_loop_proxy.h" | 14 #include "base/message_loop_proxy.h" |
| 15 #include "base/sequenced_task_runner_helpers.h" |
16 #include "base/time.h" | 16 #include "base/time.h" |
17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
18 #include "webkit/quota/quota_types.h" | 18 #include "webkit/quota/quota_types.h" |
19 | 19 |
20 class BrowsingDataQuotaHelper; | 20 class BrowsingDataQuotaHelper; |
21 class Profile; | 21 class Profile; |
22 | 22 |
23 struct BrowsingDataQuotaHelperDeleter { | 23 struct BrowsingDataQuotaHelperDeleter { |
24 static void Destruct(const BrowsingDataQuotaHelper* helper); | 24 static void Destruct(const BrowsingDataQuotaHelper* helper); |
25 }; | 25 }; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 private: | 74 private: |
75 friend class base::DeleteHelper<BrowsingDataQuotaHelper>; | 75 friend class base::DeleteHelper<BrowsingDataQuotaHelper>; |
76 friend struct BrowsingDataQuotaHelperDeleter; | 76 friend struct BrowsingDataQuotaHelperDeleter; |
77 scoped_refptr<base::MessageLoopProxy> io_thread_; | 77 scoped_refptr<base::MessageLoopProxy> io_thread_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelper); | 79 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelper); |
80 }; | 80 }; |
81 | 81 |
82 #endif // CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_H_ | 82 #endif // CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_H_ |
OLD | NEW |