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

Side by Side Diff: chrome/browser/download/download_status_updater.h

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DOWNLOAD_DOWNLOAD_STATUS_UPDATER_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_STATUS_UPDATER_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_STATUS_UPDATER_H_ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_STATUS_UPDATER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 16 matching lines...) Expand all
27 27
28 // Add the specified DownloadManager to the list of managers for which 28 // Add the specified DownloadManager to the list of managers for which
29 // this object reports status. 29 // this object reports status.
30 // The manager must not have previously been added to this updater. 30 // The manager must not have previously been added to this updater.
31 // The updater will automatically disassociate itself from the 31 // The updater will automatically disassociate itself from the
32 // manager when the manager is shutdown. 32 // manager when the manager is shutdown.
33 void AddManager(content::DownloadManager* manager); 33 void AddManager(content::DownloadManager* manager);
34 34
35 // AllDownloadItemNotifier::Observer 35 // AllDownloadItemNotifier::Observer
36 virtual void OnDownloadCreated( 36 virtual void OnDownloadCreated(
37 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; 37 content::DownloadManager* manager, content::DownloadItem* item) override;
38 virtual void OnDownloadUpdated( 38 virtual void OnDownloadUpdated(
39 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; 39 content::DownloadManager* manager, content::DownloadItem* item) override;
40 40
41 protected: 41 protected:
42 // Platform-specific function to update the platform UI for download progress. 42 // Platform-specific function to update the platform UI for download progress.
43 // |download| is the download item that changed. Implementations should not 43 // |download| is the download item that changed. Implementations should not
44 // hold the value of |download| as it is not guaranteed to remain valid. 44 // hold the value of |download| as it is not guaranteed to remain valid.
45 // Virtual to be overridable for testing. 45 // Virtual to be overridable for testing.
46 virtual void UpdateAppIconDownloadProgress(content::DownloadItem* download); 46 virtual void UpdateAppIconDownloadProgress(content::DownloadItem* download);
47 47
48 private: 48 private:
49 std::vector<AllDownloadItemNotifier*> notifiers_; 49 std::vector<AllDownloadItemNotifier*> notifiers_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(DownloadStatusUpdater); 51 DISALLOW_COPY_AND_ASSIGN(DownloadStatusUpdater);
52 }; 52 };
53 53
54 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_STATUS_UPDATER_H_ 54 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_STATUS_UPDATER_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_shelf_unittest.cc ('k') | chrome/browser/download/download_status_updater_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698