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

Unified Diff: chrome/browser/download/download_resource_throttle.cc

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_resource_throttle.cc
diff --git a/chrome/browser/download/download_resource_throttle.cc b/chrome/browser/download/download_resource_throttle.cc
index 9578d33917c9b49fb6436628a5c220f5694faab0..c9f39f11e520e9c7d57622e6f0c3a543cb04a4c9 100644
--- a/chrome/browser/download/download_resource_throttle.cc
+++ b/chrome/browser/download/download_resource_throttle.cc
@@ -35,7 +35,7 @@ void CanDownload(
info->continue_callback);
}
-#if defined(OS_ANDROID)
+#if defined(OS_ANDROID) && !defined(USE_AURA)
void OnAcquireFileAccessPermissionDone(
scoped_ptr<DownloadResourceThrottle::DownloadRequestInfo> info,
bool granted) {
@@ -50,7 +50,7 @@ void OnAcquireFileAccessPermissionDone(
void CanDownloadOnUIThread(
scoped_ptr<DownloadResourceThrottle::DownloadRequestInfo> info) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
-#if defined(OS_ANDROID)
+#if defined(OS_ANDROID) && !defined(USE_AURA)
int process_id = info->render_process_id;
int render_view_id = info->render_view_id;
content::DownloadControllerAndroid::Get()->AcquireFileAccessPermission(

Powered by Google App Engine
This is Rietveld 408576698