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

Side by Side Diff: chrome/browser/download/download_history.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_HISTORY_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_HISTORY_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_HISTORY_H_ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_HISTORY_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 // May add |item| to |history_|. 104 // May add |item| to |history_|.
105 void MaybeAddToHistory(content::DownloadItem* item); 105 void MaybeAddToHistory(content::DownloadItem* item);
106 106
107 // Callback from |history_| when an item was successfully inserted into the 107 // Callback from |history_| when an item was successfully inserted into the
108 // database. 108 // database.
109 void ItemAdded(uint32 id, bool success); 109 void ItemAdded(uint32 id, bool success);
110 110
111 // AllDownloadItemNotifier::Observer 111 // AllDownloadItemNotifier::Observer
112 virtual void OnDownloadCreated( 112 virtual void OnDownloadCreated(
113 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; 113 content::DownloadManager* manager, content::DownloadItem* item) override;
114 virtual void OnDownloadUpdated( 114 virtual void OnDownloadUpdated(
115 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; 115 content::DownloadManager* manager, content::DownloadItem* item) override;
116 virtual void OnDownloadOpened( 116 virtual void OnDownloadOpened(
117 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; 117 content::DownloadManager* manager, content::DownloadItem* item) override;
118 virtual void OnDownloadRemoved( 118 virtual void OnDownloadRemoved(
119 content::DownloadManager* manager, content::DownloadItem* item) OVERRIDE; 119 content::DownloadManager* manager, content::DownloadItem* item) override;
120 120
121 // Schedule a record to be removed from |history_| the next time 121 // Schedule a record to be removed from |history_| the next time
122 // RemoveDownloadsBatch() runs. Schedule RemoveDownloadsBatch() to be run soon 122 // RemoveDownloadsBatch() runs. Schedule RemoveDownloadsBatch() to be run soon
123 // if it isn't already scheduled. 123 // if it isn't already scheduled.
124 void ScheduleRemoveDownload(uint32 download_id); 124 void ScheduleRemoveDownload(uint32 download_id);
125 125
126 // Removes all |removing_ids_| from |history_|. 126 // Removes all |removing_ids_| from |history_|.
127 void RemoveDownloadsBatch(); 127 void RemoveDownloadsBatch();
128 128
129 AllDownloadItemNotifier notifier_; 129 AllDownloadItemNotifier notifier_;
(...skipping 19 matching lines...) Expand all
149 int64 history_size_; 149 int64 history_size_;
150 150
151 ObserverList<Observer> observers_; 151 ObserverList<Observer> observers_;
152 152
153 base::WeakPtrFactory<DownloadHistory> weak_ptr_factory_; 153 base::WeakPtrFactory<DownloadHistory> weak_ptr_factory_;
154 154
155 DISALLOW_COPY_AND_ASSIGN(DownloadHistory); 155 DISALLOW_COPY_AND_ASSIGN(DownloadHistory);
156 }; 156 };
157 157
158 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_HISTORY_H_ 158 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_HISTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/download_file_picker.h ('k') | chrome/browser/download/download_history_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698