OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include <vector> | |
14 | 13 |
15 #include "base/callback_old.h" | 14 #include "base/callback_old.h" |
16 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_callback_factory.h" | 16 #include "base/memory/scoped_callback_factory.h" |
18 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
19 #include "base/time.h" | 18 #include "base/time.h" |
20 #include "chrome/browser/browsing_data_quota_helper.h" | 19 #include "chrome/browser/browsing_data_quota_helper.h" |
21 #include "content/browser/browser_thread.h" | 20 #include "content/browser/browser_thread.h" |
22 #include "webkit/quota/quota_types.h" | 21 #include "webkit/quota/quota_types.h" |
23 | 22 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 scoped_refptr<base::MessageLoopProxy> io_thread_; | 65 scoped_refptr<base::MessageLoopProxy> io_thread_; |
67 base::ScopedCallbackFactory<BrowsingDataQuotaHelperImpl> callback_factory_; | 66 base::ScopedCallbackFactory<BrowsingDataQuotaHelperImpl> callback_factory_; |
68 | 67 |
69 friend class BrowsingDataQuotaHelper; | 68 friend class BrowsingDataQuotaHelper; |
70 friend class BrowsingDataQuotaHelperTest; | 69 friend class BrowsingDataQuotaHelperTest; |
71 | 70 |
72 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelperImpl); | 71 DISALLOW_COPY_AND_ASSIGN(BrowsingDataQuotaHelperImpl); |
73 }; | 72 }; |
74 | 73 |
75 #endif // CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_IMPL_H_ | 74 #endif // CHROME_BROWSER_BROWSING_DATA_QUOTA_HELPER_IMPL_H_ |
OLD | NEW |