Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: chrome/browser/android/offline_pages/offline_page_utils.h

Issue 2528483003: [Android Downloads] Long-press menu item "Download Link" should delegate job to OfflinePages backen… (Closed)
Patch Set: removed unnecessary #include Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698