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

Unified Diff: components/safe_browsing_db/v4_store.h

Issue 2675063002: Browser tests for using the new SafeBrowsing protocol (v4) (Closed)
Patch Set: shess@'s review Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: components/safe_browsing_db/v4_store.h
diff --git a/components/safe_browsing_db/v4_store.h b/components/safe_browsing_db/v4_store.h
index 0deb76a268ca33f066ac95c3655579db7d7c3313..1a6b14a35142458093f90dbe25f8b495f8c82036 100644
--- a/components/safe_browsing_db/v4_store.h
+++ b/components/safe_browsing_db/v4_store.h
@@ -391,6 +391,10 @@ class V4Store {
// |checksum| is used to set the |checksum| field in the final proto.
StoreWriteResult WriteToDisk(const Checksum& checksum);
+ protected:
+ HashPrefixMap hash_prefix_map_;
Nathan Parker 2017/02/08 01:22:54 Same question here... why protected?
+
+ private:
// The checksum value as read from the disk, until it is verified. Once
// verified, it is cleared.
std::string expected_checksum_;
@@ -406,7 +410,6 @@ class V4Store {
// update response.
std::string state_;
const base::FilePath store_path_;
- HashPrefixMap hash_prefix_map_;
const scoped_refptr<base::SequencedTaskRunner> task_runner_;
};

Powered by Google App Engine
This is Rietveld 408576698