| 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_APPCACHE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_APPCACHE_HELPER_H_ |
| 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_APPCACHE_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_APPCACHE_HELPER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 | 11 |
| 10 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 12 #include "content/public/browser/appcache_service.h" | 15 #include "content/public/browser/appcache_service.h" |
| 13 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 14 | 17 |
| 15 namespace content { | 18 namespace content { |
| 16 class BrowserContext; | 19 class BrowserContext; |
| 17 } | 20 } |
| 18 | 21 |
| 19 // This class fetches appcache information on behalf of a caller | 22 // This class fetches appcache information on behalf of a caller |
| 20 // on the UI thread. | 23 // on the UI thread. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 77 |
| 75 private: | 78 private: |
| 76 ~CannedBrowsingDataAppCacheHelper() override; | 79 ~CannedBrowsingDataAppCacheHelper() override; |
| 77 | 80 |
| 78 scoped_refptr<content::AppCacheInfoCollection> info_collection_; | 81 scoped_refptr<content::AppCacheInfoCollection> info_collection_; |
| 79 | 82 |
| 80 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataAppCacheHelper); | 83 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataAppCacheHelper); |
| 81 }; | 84 }; |
| 82 | 85 |
| 83 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_APPCACHE_HELPER_H_ | 86 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_APPCACHE_HELPER_H_ |
| OLD | NEW |