| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_APPCACHE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_ |
| 6 #define CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 12 #include "base/task.h" | 10 #include "base/task.h" |
| 13 #include "chrome/browser/appcache/chrome_appcache_service.h" | 11 #include "chrome/browser/appcache/chrome_appcache_service.h" |
| 14 #include "chrome/common/net/url_request_context_getter.h" | 12 #include "chrome/common/net/url_request_context_getter.h" |
| 15 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
| 16 | 14 |
| 17 class Profile; | 15 class Profile; |
| 18 | 16 |
| 19 // This class fetches appcache information on behalf of a caller | 17 // This class fetches appcache information on behalf of a caller |
| 20 // on the UI thread. | 18 // on the UI thread. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual void StartFetching(Callback0::Type* completion_callback); | 70 virtual void StartFetching(Callback0::Type* completion_callback); |
| 73 virtual void CancelNotification() {} | 71 virtual void CancelNotification() {} |
| 74 | 72 |
| 75 private: | 73 private: |
| 76 virtual ~CannedBrowsingDataAppCacheHelper() {} | 74 virtual ~CannedBrowsingDataAppCacheHelper() {} |
| 77 | 75 |
| 78 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataAppCacheHelper); | 76 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataAppCacheHelper); |
| 79 }; | 77 }; |
| 80 | 78 |
| 81 #endif // CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_ | 79 #endif // CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_ |
| OLD | NEW |