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

Side by Side Diff: chrome/browser/history/history_backend.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_HISTORY_HISTORY_BACKEND_H_ 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 const GURL& page_url); 768 const GURL& page_url);
769 769
770 // Generic stuff ------------------------------------------------------------- 770 // Generic stuff -------------------------------------------------------------
771 771
772 // Processes the next scheduled HistoryDBTask, scheduling this method 772 // Processes the next scheduled HistoryDBTask, scheduling this method
773 // to be invoked again if there are more tasks that need to run. 773 // to be invoked again if there are more tasks that need to run.
774 void ProcessDBTaskImpl(); 774 void ProcessDBTaskImpl();
775 775
776 virtual void BroadcastNotifications( 776 virtual void BroadcastNotifications(
777 int type, 777 int type,
778 scoped_ptr<HistoryDetails> details) OVERRIDE; 778 scoped_ptr<HistoryDetails> details) override;
779 virtual void NotifySyncURLsModified(URLRows* rows) OVERRIDE; 779 virtual void NotifySyncURLsModified(URLRows* rows) override;
780 virtual void NotifySyncURLsDeleted(bool all_history, 780 virtual void NotifySyncURLsDeleted(bool all_history,
781 bool expired, 781 bool expired,
782 URLRows* rows) OVERRIDE; 782 URLRows* rows) override;
783 783
784 // Deleting all history ------------------------------------------------------ 784 // Deleting all history ------------------------------------------------------
785 785
786 // Deletes all history. This is a special case of deleting that is separated 786 // Deletes all history. This is a special case of deleting that is separated
787 // from our normal dependency-following method for performance reasons. The 787 // from our normal dependency-following method for performance reasons. The
788 // logic lives here instead of ExpireHistoryBackend since it will cause 788 // logic lives here instead of ExpireHistoryBackend since it will cause
789 // re-initialization of some databases (e.g. Thumbnails) that could fail. 789 // re-initialization of some databases (e.g. Thumbnails) that could fail.
790 // When these databases are not valid, our pointers must be NULL, so we need 790 // When these databases are not valid, our pointers must be NULL, so we need
791 // to handle this type of operation to keep the pointers in sync. 791 // to handle this type of operation to keep the pointers in sync.
792 void DeleteAllHistory(); 792 void DeleteAllHistory();
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 892
893 // Listens for the system being under memory pressure. 893 // Listens for the system being under memory pressure.
894 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; 894 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_;
895 895
896 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 896 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
897 }; 897 };
898 898
899 } // namespace history 899 } // namespace history
900 900
901 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 901 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/expire_history_backend_unittest.cc ('k') | chrome/browser/history/history_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698