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