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

Side by Side Diff: chrome/browser/history/in_memory_url_index.h

Issue 652103003: replace newly added OVERRIDEs with override in chrome/browser/history/ (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
« no previous file with comments | « chrome/browser/history/in_memory_history_backend.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_HISTORY_IN_MEMORY_URL_INDEX_H_ 5 #ifndef CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_
6 #define CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ 6 #define CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_
7 7
8 #include <functional> 8 #include <functional>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 // Handles notifications of history changes. 238 // Handles notifications of history changes.
239 virtual void Observe(int notification_type, 239 virtual void Observe(int notification_type,
240 const content::NotificationSource& source, 240 const content::NotificationSource& source,
241 const content::NotificationDetails& details) override; 241 const content::NotificationDetails& details) override;
242 242
243 // HistoryServiceObserver: 243 // HistoryServiceObserver:
244 virtual void OnURLVisited(HistoryService* history_service, 244 virtual void OnURLVisited(HistoryService* history_service,
245 ui::PageTransition transition, 245 ui::PageTransition transition,
246 const URLRow& row, 246 const URLRow& row,
247 const RedirectList& redirects, 247 const RedirectList& redirects,
248 base::Time visit_time) OVERRIDE; 248 base::Time visit_time) override;
249 249
250 // Notification handlers. 250 // Notification handlers.
251 void OnURLsModified(const URLsModifiedDetails* details); 251 void OnURLsModified(const URLsModifiedDetails* details);
252 void OnURLsDeleted(const URLsDeletedDetails* details); 252 void OnURLsDeleted(const URLsDeletedDetails* details);
253 253
254 // Sets the directory wherein the cache file will be maintained. 254 // Sets the directory wherein the cache file will be maintained.
255 // For unit test usage only. 255 // For unit test usage only.
256 void set_history_dir(const base::FilePath& dir_path) { 256 void set_history_dir(const base::FilePath& dir_path) {
257 history_dir_ = dir_path; 257 history_dir_ = dir_path;
258 } 258 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 // temporary safety check to insure that the cache is saved before the 309 // temporary safety check to insure that the cache is saved before the
310 // index has been destructed. 310 // index has been destructed.
311 bool needs_to_be_cached_; 311 bool needs_to_be_cached_;
312 312
313 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); 313 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex);
314 }; 314 };
315 315
316 } // namespace history 316 } // namespace history
317 317
318 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ 318 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/in_memory_history_backend.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698