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

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_store_file.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual bool GetAddFullHashes( 120 virtual bool GetAddFullHashes(
121 std::vector<SBAddFullHash>* add_full_hashes) OVERRIDE; 121 std::vector<SBAddFullHash>* add_full_hashes) OVERRIDE;
122 122
123 virtual bool BeginChunk() OVERRIDE; 123 virtual bool BeginChunk() OVERRIDE;
124 124
125 virtual bool WriteAddPrefix(int32 chunk_id, SBPrefix prefix) OVERRIDE; 125 virtual bool WriteAddPrefix(int32 chunk_id, SBPrefix prefix) OVERRIDE;
126 virtual bool WriteAddHash(int32 chunk_id, 126 virtual bool WriteAddHash(int32 chunk_id,
127 base::Time receive_time, 127 base::Time receive_time,
128 const SBFullHash& full_hash) OVERRIDE; 128 const SBFullHash& full_hash) OVERRIDE;
129 virtual bool WriteSubPrefix(int32 chunk_id, 129 virtual bool WriteSubPrefix(int32 chunk_id,
130 int32 add_chunk_id, SBPrefix prefix); 130 int32 add_chunk_id, SBPrefix prefix) OVERRIDE;
131 virtual bool WriteSubHash(int32 chunk_id, int32 add_chunk_id, 131 virtual bool WriteSubHash(int32 chunk_id, int32 add_chunk_id,
132 const SBFullHash& full_hash) OVERRIDE; 132 const SBFullHash& full_hash) OVERRIDE;
133 virtual bool FinishChunk() OVERRIDE; 133 virtual bool FinishChunk() OVERRIDE;
134 134
135 virtual bool BeginUpdate() OVERRIDE; 135 virtual bool BeginUpdate() OVERRIDE;
136 // Store updates with pending add full hashes in file store and 136 // Store updates with pending add full hashes in file store and
137 // return |add_prefixes_result| and |add_full_hashes_result|. 137 // return |add_prefixes_result| and |add_full_hashes_result|.
138 virtual bool FinishUpdate( 138 virtual bool FinishUpdate(
139 const std::vector<SBAddFullHash>& pending_adds, 139 const std::vector<SBAddFullHash>& pending_adds,
140 const std::set<SBPrefix>& prefix_misses, 140 const std::set<SBPrefix>& prefix_misses,
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 275
276 // Tracks whether corruption has already been seen in the current 276 // Tracks whether corruption has already been seen in the current
277 // update, so that only one instance is recorded in the stats. 277 // update, so that only one instance is recorded in the stats.
278 // TODO(shess): Remove with format-migration support. 278 // TODO(shess): Remove with format-migration support.
279 bool corruption_seen_; 279 bool corruption_seen_;
280 280
281 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStoreFile); 281 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStoreFile);
282 }; 282 };
283 283
284 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_ 284 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_FILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_database.h ('k') | chrome/browser/search_engines/search_provider_install_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698