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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_database.h

Issue 8614003: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/safe_browsing_database.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_database.h b/chrome/browser/safe_browsing/safe_browsing_database.h
index ae78d83aec5cd9739f113cf519fcfa6d29268418..0c95a43479f7ace8dad2117628964ced95adae82 100644
--- a/chrome/browser/safe_browsing/safe_browsing_database.h
+++ b/chrome/browser/safe_browsing/safe_browsing_database.h
@@ -223,26 +223,29 @@ class SafeBrowsingDatabaseNew : public SafeBrowsingDatabase {
virtual ~SafeBrowsingDatabaseNew();
// Implement SafeBrowsingDatabase interface.
- virtual void Init(const FilePath& filename);
- virtual bool ResetDatabase();
+ virtual void Init(const FilePath& filename) OVERRIDE;
+ virtual bool ResetDatabase() OVERRIDE;
virtual bool ContainsBrowseUrl(const GURL& url,
std::string* matching_list,
std::vector<SBPrefix>* prefix_hits,
std::vector<SBFullHashResult>* full_hits,
- base::Time last_update);
+ base::Time last_update) OVERRIDE;
virtual bool ContainsDownloadUrl(const std::vector<GURL>& urls,
- std::vector<SBPrefix>* prefix_hits);
- virtual bool ContainsDownloadHashPrefix(const SBPrefix& prefix);
- virtual bool ContainsCsdWhitelistedUrl(const GURL& url);
- virtual bool ContainsDownloadWhitelistedUrl(const GURL& url);
- virtual bool ContainsDownloadWhitelistedString(const std::string& str);
- virtual bool UpdateStarted(std::vector<SBListChunkRanges>* lists);
+ std::vector<SBPrefix>* prefix_hits) OVERRIDE;
+ virtual bool ContainsDownloadHashPrefix(const SBPrefix& prefix) OVERRIDE;
+ virtual bool ContainsCsdWhitelistedUrl(const GURL& url) OVERRIDE;
+ virtual bool ContainsDownloadWhitelistedUrl(const GURL& url) OVERRIDE;
+ virtual bool ContainsDownloadWhitelistedString(
+ const std::string& str) OVERRIDE;
+ virtual bool UpdateStarted(std::vector<SBListChunkRanges>* lists) OVERRIDE;
virtual void InsertChunks(const std::string& list_name,
- const SBChunkList& chunks);
- virtual void DeleteChunks(const std::vector<SBChunkDelete>& chunk_deletes);
- virtual void UpdateFinished(bool update_succeeded);
- virtual void CacheHashResults(const std::vector<SBPrefix>& prefixes,
- const std::vector<SBFullHashResult>& full_hits);
+ const SBChunkList& chunks) OVERRIDE;
+ virtual void DeleteChunks(
+ const std::vector<SBChunkDelete>& chunk_deletes) OVERRIDE;
+ virtual void UpdateFinished(bool update_succeeded) OVERRIDE;
+ virtual void CacheHashResults(
+ const std::vector<SBPrefix>& prefixes,
+ const std::vector<SBFullHashResult>& full_hits) OVERRIDE;
private:
friend class SafeBrowsingDatabaseTest;
« no previous file with comments | « chrome/browser/repost_form_warning_controller.h ('k') | chrome/browser/safe_browsing/safe_browsing_store_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698