OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMECAST_SHELL_BROWSER_CAST_DOWNLOAD_MANAGER_DELEGATE_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_DOWNLOAD_MANAGER_DELEGATE_H_ |
6 #define CHROMECAST_SHELL_BROWSER_CAST_DOWNLOAD_MANAGER_DELEGATE_H_ | 6 #define CHROMECAST_BROWSER_CAST_DOWNLOAD_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/public/browser/download_manager_delegate.h" | 9 #include "content/public/browser/download_manager_delegate.h" |
10 | 10 |
11 namespace chromecast { | 11 namespace chromecast { |
12 namespace shell { | 12 namespace shell { |
13 | 13 |
14 class CastDownloadManagerDelegate : public content::DownloadManagerDelegate { | 14 class CastDownloadManagerDelegate : public content::DownloadManagerDelegate { |
15 public: | 15 public: |
16 CastDownloadManagerDelegate(); | 16 CastDownloadManagerDelegate(); |
(...skipping 14 matching lines...) Expand all Loading... |
31 content::DownloadItem* item, | 31 content::DownloadItem* item, |
32 const content::DownloadOpenDelayedCallback& callback) override; | 32 const content::DownloadOpenDelayedCallback& callback) override; |
33 | 33 |
34 private: | 34 private: |
35 DISALLOW_COPY_AND_ASSIGN(CastDownloadManagerDelegate); | 35 DISALLOW_COPY_AND_ASSIGN(CastDownloadManagerDelegate); |
36 }; | 36 }; |
37 | 37 |
38 } // namespace shell | 38 } // namespace shell |
39 } // namespace chromecast | 39 } // namespace chromecast |
40 | 40 |
41 #endif // CHROMECAST_SHELL_BROWSER_CAST_DOWNLOAD_MANAGER_DELEGATE_H_ | 41 #endif // CHROMECAST_BROWSER_CAST_DOWNLOAD_MANAGER_DELEGATE_H_ |
OLD | NEW |