OLD | NEW |
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_DOWNLOAD_ANDROID_DOWNLOAD_MANAGER_OVERWRITE_INFOB
AR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_DOWNLOAD_ANDROID_DOWNLOAD_MANAGER_OVERWRITE_INFOB
AR_DELEGATE_H_ |
6 #define CHROME_BROWSER_ANDROID_DOWNLOAD_ANDROID_DOWNLOAD_MANAGER_OVERWRITE_INFOB
AR_DELEGATE_H_ | 6 #define CHROME_BROWSER_ANDROID_DOWNLOAD_ANDROID_DOWNLOAD_MANAGER_OVERWRITE_INFOB
AR_DELEGATE_H_ |
7 | 7 |
8 #include "base/android/jni_weak_ref.h" | 8 #include "base/android/jni_weak_ref.h" |
9 #include "base/android/scoped_java_ref.h" | 9 #include "base/android/scoped_java_ref.h" |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/macros.h" |
12 #include "chrome/browser/android/download/download_overwrite_infobar_delegate.h" | 13 #include "chrome/browser/android/download/download_overwrite_infobar_delegate.h" |
13 #include "components/infobars/core/infobar_delegate.h" | 14 #include "components/infobars/core/infobar_delegate.h" |
14 | 15 |
15 class InfoBarService; | 16 class InfoBarService; |
16 | 17 |
17 namespace chrome { | 18 namespace chrome { |
18 namespace android { | 19 namespace android { |
19 | 20 |
20 // An infobar delegate that is initiated from Java side. | 21 // An infobar delegate that is initiated from Java side. |
21 class AndroidDownloadManagerOverwriteInfoBarDelegate | 22 class AndroidDownloadManagerOverwriteInfoBarDelegate |
(...skipping 29 matching lines...) Expand all Loading... |
51 base::android::ScopedJavaGlobalRef<jobject> chrome_download_delegate_; | 52 base::android::ScopedJavaGlobalRef<jobject> chrome_download_delegate_; |
52 base::android::ScopedJavaGlobalRef<jobject> download_info_; | 53 base::android::ScopedJavaGlobalRef<jobject> download_info_; |
53 | 54 |
54 DISALLOW_COPY_AND_ASSIGN(AndroidDownloadManagerOverwriteInfoBarDelegate); | 55 DISALLOW_COPY_AND_ASSIGN(AndroidDownloadManagerOverwriteInfoBarDelegate); |
55 }; | 56 }; |
56 | 57 |
57 } // namespace android | 58 } // namespace android |
58 } // namespace chrome | 59 } // namespace chrome |
59 | 60 |
60 #endif // CHROME_BROWSER_ANDROID_DOWNLOAD_ANDROID_DOWNLOAD_MANAGER_OVERWRITE_IN
FOBAR_DELEGATE_H_ | 61 #endif // CHROME_BROWSER_ANDROID_DOWNLOAD_ANDROID_DOWNLOAD_MANAGER_OVERWRITE_IN
FOBAR_DELEGATE_H_ |
OLD | NEW |