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 "content/public/browser/browser_thread.h" | |
16 #include "webkit/quota/quota_types.h" | 15 #include "webkit/quota/quota_types.h" |
17 | 16 |
18 class BrowsingDataQuotaHelper; | 17 class BrowsingDataQuotaHelper; |
19 class Profile; | 18 class Profile; |
20 | 19 |
21 struct BrowsingDataQuotaHelperDeleter { | 20 struct BrowsingDataQuotaHelperDeleter { |
22 static void Destruct(const BrowsingDataQuotaHelper* helper); | 21 static void Destruct(const BrowsingDataQuotaHelper* helper); |
23 }; | 22 }; |
24 | 23 |
25 // This class is an interface class to bridge between Cookies Tree and Unified | 24 // This class is an interface class to bridge between Cookies Tree and Unified |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 70 |
72 private: | 71 private: |
73 friend class base::DeleteHelper<BrowsingDataQuotaHelper>; | 72 friend class base::DeleteHelper<BrowsingDataQuotaHelper>; |
74 friend struct BrowsingDataQuotaHelperDeleter; | 73 friend struct BrowsingDataQuotaHelperDeleter; |
75 scoped_refptr<base::MessageLoopProxy> io_thread_; | 74 scoped_refptr<base::MessageLoopProxy> io_thread_; |
76 | 75 |
77 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelper); | 76 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelper); |
78 }; | 77 }; |
79 | 78 |
80 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_QUOTA_HELPER_H_ | 79 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_QUOTA_HELPER_H_ |
OLD | NEW |