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

Side by Side Diff: chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.h

Issue 2478583004: implementation for new duplicate download UI (Closed)
Patch Set: do null check on webcontents Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_BRI DGE_H_ 5 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_BRI DGE_H_
6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_BRI DGE_H_ 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_BRI DGE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 const base::android::JavaParamRef<jstring>& j_guid); 54 const base::android::JavaParamRef<jstring>& j_guid);
55 55
56 jlong GetOfflineIdByGuid( 56 jlong GetOfflineIdByGuid(
57 JNIEnv* env, 57 JNIEnv* env,
58 const base::android::JavaParamRef<jobject>& obj, 58 const base::android::JavaParamRef<jobject>& obj,
59 const base::android::JavaParamRef<jstring>& j_guid); 59 const base::android::JavaParamRef<jstring>& j_guid);
60 60
61 void StartDownload( 61 void StartDownload(
62 JNIEnv* env, 62 JNIEnv* env,
63 const base::android::JavaParamRef<jobject>& obj, 63 const base::android::JavaParamRef<jobject>& obj,
64 const base::android::JavaParamRef<jobject>& j_tab, 64 const base::android::JavaParamRef<jobject>& j_tab);
65 const base::android::JavaParamRef<jstring>& j_downloads_label);
66 65
67 void CancelDownload(JNIEnv* env, 66 void CancelDownload(JNIEnv* env,
68 const base::android::JavaParamRef<jobject>& obj, 67 const base::android::JavaParamRef<jobject>& obj,
69 const base::android::JavaParamRef<jstring>& j_guid); 68 const base::android::JavaParamRef<jstring>& j_guid);
70 69
71 void PauseDownload(JNIEnv* env, 70 void PauseDownload(JNIEnv* env,
72 const base::android::JavaParamRef<jobject>& obj, 71 const base::android::JavaParamRef<jobject>& obj,
73 const base::android::JavaParamRef<jstring>& j_guid); 72 const base::android::JavaParamRef<jstring>& j_guid);
74 73
75 void ResumeDownload(JNIEnv* env, 74 void ResumeDownload(JNIEnv* env,
(...skipping 13 matching lines...) Expand all
89 // Not owned. 88 // Not owned.
90 content::BrowserContext* browser_context_; 89 content::BrowserContext* browser_context_;
91 90
92 DISALLOW_COPY_AND_ASSIGN(OfflinePageDownloadBridge); 91 DISALLOW_COPY_AND_ASSIGN(OfflinePageDownloadBridge);
93 }; 92 };
94 93
95 } // namespace android 94 } // namespace android
96 } // namespace offline_pages 95 } // namespace offline_pages
97 96
98 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_ BRIDGE_H_ 97 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_DOWNLOADS_OFFLINE_PAGE_DOWNLOAD_ BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698