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

Side by Side Diff: chromecast/shell/browser/cast_download_manager_delegate.h

Issue 630663003: replace OVERRIDE and FINAL with override and final in chromecast/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
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_SHELL_BROWSER_CAST_DOWNLOAD_MANAGER_DELEGATE_H_
6 #define CHROMECAST_SHELL_BROWSER_CAST_DOWNLOAD_MANAGER_DELEGATE_H_ 6 #define CHROMECAST_SHELL_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();
17 virtual ~CastDownloadManagerDelegate(); 17 virtual ~CastDownloadManagerDelegate();
18 18
19 // content::DownloadManagerDelegate implementation: 19 // content::DownloadManagerDelegate implementation:
20 virtual void GetNextId( 20 virtual void GetNextId(
21 const content::DownloadIdCallback& callback) OVERRIDE; 21 const content::DownloadIdCallback& callback) override;
22 virtual bool DetermineDownloadTarget( 22 virtual bool DetermineDownloadTarget(
23 content::DownloadItem* item, 23 content::DownloadItem* item,
24 const content::DownloadTargetCallback& callback) OVERRIDE; 24 const content::DownloadTargetCallback& callback) override;
25 virtual bool ShouldOpenFileBasedOnExtension( 25 virtual bool ShouldOpenFileBasedOnExtension(
26 const base::FilePath& path) OVERRIDE; 26 const base::FilePath& path) override;
27 virtual bool ShouldCompleteDownload( 27 virtual bool ShouldCompleteDownload(
28 content::DownloadItem* item, 28 content::DownloadItem* item,
29 const base::Closure& complete_callback) OVERRIDE; 29 const base::Closure& complete_callback) override;
30 virtual bool ShouldOpenDownload( 30 virtual bool ShouldOpenDownload(
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_SHELL_BROWSER_CAST_DOWNLOAD_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « chromecast/shell/browser/cast_content_browser_client.h ('k') | chromecast/shell/browser/cast_http_user_agent_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698