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

Unified Diff: content/public/browser/android/download_controller_android.cc

Issue 1217223006: Prompt user for file access permission before download starts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: FixDownloadManagerDelegateTest Created 5 years, 5 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: content/public/browser/android/download_controller_android.cc
diff --git a/content/public/browser/android/download_controller_android.cc b/content/public/browser/android/download_controller_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..22b0c238ca577da158079a9b0ac810ad5f3cab45
--- /dev/null
+++ b/content/public/browser/android/download_controller_android.cc
@@ -0,0 +1,19 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/public/browser/android/download_controller_android.h"
+
+namespace content {
+
+// static
+DownloadControllerAndroid* DownloadControllerAndroid::download_controller_ =
+ nullptr;
+
+//static
+void DownloadControllerAndroid::SetDownloadControllerAndroid(
+ DownloadControllerAndroid* download_controller) {
+ download_controller_ = download_controller;
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698