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

Unified Diff: chrome/browser/android/download/chrome_download_delegate.h

Issue 2886403005: Remove chrome_download_delegate.cc (Closed)
Patch Set: Created 3 years, 7 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/android/download/chrome_download_delegate.h
diff --git a/chrome/browser/android/download/chrome_download_delegate.h b/chrome/browser/android/download/chrome_download_delegate.h
deleted file mode 100644
index 309e4fd085a3fe3346f59389a99f76c5c31487e9..0000000000000000000000000000000000000000
--- a/chrome/browser/android/download/chrome_download_delegate.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 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.
-
-#ifndef CHROME_BROWSER_ANDROID_DOWNLOAD_CHROME_DOWNLOAD_DELEGATE_H_
-#define CHROME_BROWSER_ANDROID_DOWNLOAD_CHROME_DOWNLOAD_DELEGATE_H_
-
-#include "base/android/jni_android.h"
-#include "content/public/browser/web_contents_user_data.h"
-
-class ChromeDownloadDelegate
- : public content::WebContentsUserData<ChromeDownloadDelegate> {
- public:
- ~ChromeDownloadDelegate() override;
-
- // Returns true iff this request resulted in the tab creating the download
- // to close.
- static bool EnqueueDownloadManagerRequest(jobject chrome_download_delegate,
- bool overwrite,
- jobject download_info);
-
- void SetJavaRef(JNIEnv*, jobject obj);
-
- void RequestFileAccess(intptr_t callback_id);
-
- private:
- explicit ChromeDownloadDelegate(content::WebContents* contents);
- friend class content::WebContentsUserData<ChromeDownloadDelegate>;
-
- // A reference to the Java ChromeDownloadDelegate object.
- jobject java_ref_;
-};
-
-bool RegisterChromeDownloadDelegate(JNIEnv* env);
-
-#endif // CHROME_BROWSER_ANDROID_DOWNLOAD_CHROME_DOWNLOAD_DELEGATE_H_
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/android/download/chrome_download_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698