OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_MOCK_DOWNLOAD_CONTROLLER_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_DOWNLOAD_MOCK_DOWNLOAD_CONTROLLER_ANDROID_H_ |
6 #define CHROME_BROWSER_ANDROID_DOWNLOAD_MOCK_DOWNLOAD_CONTROLLER_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_DOWNLOAD_MOCK_DOWNLOAD_CONTROLLER_ANDROID_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
10 #include "content/public/browser/android/download_controller_android.h" | 11 #include "content/public/browser/android/download_controller_android.h" |
11 | 12 |
12 namespace content { | 13 namespace content { |
13 class DownloadItem; | 14 class DownloadItem; |
14 class WebContents; | 15 class WebContents; |
15 } // namespace content | 16 } // namespace content |
16 | 17 |
17 namespace chrome { | 18 namespace chrome { |
18 namespace android { | 19 namespace android { |
(...skipping 24 matching lines...) Expand all Loading... |
43 private: | 44 private: |
44 bool approve_file_access_request_; | 45 bool approve_file_access_request_; |
45 DISALLOW_COPY_AND_ASSIGN(MockDownloadControllerAndroid); | 46 DISALLOW_COPY_AND_ASSIGN(MockDownloadControllerAndroid); |
46 }; | 47 }; |
47 | 48 |
48 } // namespace android | 49 } // namespace android |
49 } // namespace chrome | 50 } // namespace chrome |
50 | 51 |
51 | 52 |
52 #endif // CHROME_BROWSER_ANDROID_DOWNLOAD_MOCK_DOWNLOAD_CONTROLLER_ANDROID_H_ | 53 #endif // CHROME_BROWSER_ANDROID_DOWNLOAD_MOCK_DOWNLOAD_CONTROLLER_ANDROID_H_ |
OLD | NEW |