| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_UTILS_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_UTILS_H_ |
| 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_UTILS_H_ | 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_UTILS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 const GURL& offline_url, | 60 const GURL& offline_url, |
| 61 const base::Callback<void(bool)>& callback); | 61 const base::Callback<void(bool)>& callback); |
| 62 | 62 |
| 63 static void CheckExistenceOfRequestsWithURL( | 63 static void CheckExistenceOfRequestsWithURL( |
| 64 content::BrowserContext* browser_context, | 64 content::BrowserContext* browser_context, |
| 65 const std::string name_space, | 65 const std::string name_space, |
| 66 const GURL& offline_page_url, | 66 const GURL& offline_page_url, |
| 67 const base::Callback<void(bool)>& callback); | 67 const base::Callback<void(bool)>& callback); |
| 68 | 68 |
| 69 static bool EqualsIgnoringFragment(const GURL& lhs, const GURL& rhs); | 69 static bool EqualsIgnoringFragment(const GURL& lhs, const GURL& rhs); |
| 70 |
| 71 static void CreateOfflinePageDownload( |
| 72 content::BrowserContext* context, |
| 73 const GURL& url); |
| 70 }; | 74 }; |
| 71 | 75 |
| 72 } // namespace offline_pages | 76 } // namespace offline_pages |
| 73 | 77 |
| 74 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_UTILS_H_ | 78 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_UTILS_H_ |
| OLD | NEW |