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/task/sequenced_task_runner_helpers.h" | 14 #include "base/sequenced_task_runner_helpers.h" |
15 #include "webkit/quota/quota_types.h" | 15 #include "webkit/quota/quota_types.h" |
16 | 16 |
17 class BrowsingDataQuotaHelper; | 17 class BrowsingDataQuotaHelper; |
18 class Profile; | 18 class Profile; |
19 | 19 |
20 struct BrowsingDataQuotaHelperDeleter { | 20 struct BrowsingDataQuotaHelperDeleter { |
21 static void Destruct(const BrowsingDataQuotaHelper* helper); | 21 static void Destruct(const BrowsingDataQuotaHelper* helper); |
22 }; | 22 }; |
23 | 23 |
24 // 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 private: | 73 private: |
74 friend class base::DeleteHelper<BrowsingDataQuotaHelper>; | 74 friend class base::DeleteHelper<BrowsingDataQuotaHelper>; |
75 friend struct BrowsingDataQuotaHelperDeleter; | 75 friend struct BrowsingDataQuotaHelperDeleter; |
76 scoped_refptr<base::MessageLoopProxy> io_thread_; | 76 scoped_refptr<base::MessageLoopProxy> io_thread_; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelper); | 78 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelper); |
79 }; | 79 }; |
80 | 80 |
81 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_QUOTA_HELPER_H_ | 81 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_QUOTA_HELPER_H_ |
OLD | NEW |