Commit 76a3743c authored by Kevin Bailey's avatar Kevin Bailey Committed by Commit Bot

[previews component] Initialize bool fields

Previews logger was using some uninitialized bools. They are trivially
initialized in the class, so this CL makes it so.

Change-Id: I83ec951df6d79748fc538ba7cbae0018546bbe52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1699591Reviewed-by: default avatarTarun Bansal <tbansal@chromium.org>
Commit-Queue: Kevin Bailey <krb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#676978}
parent 8526e1b9
...@@ -123,11 +123,11 @@ class PreviewsLogger { ...@@ -123,11 +123,11 @@ class PreviewsLogger {
std::unordered_map<std::string, base::Time> blacklisted_hosts_; std::unordered_map<std::string, base::Time> blacklisted_hosts_;
// The current user blacklisted status. // The current user blacklisted status.
bool user_blacklisted_status_; bool user_blacklisted_status_ = false;
// The current status of whether PreviewsBlackList decisions are ignored or // The current status of whether PreviewsBlackList decisions are ignored or
// not. // not.
bool blacklist_ignored_; bool blacklist_ignored_ = false;
// Collection of recorded navigation log messages. // Collection of recorded navigation log messages.
std::list<MessageLog> navigations_logs_; std::list<MessageLog> navigations_logs_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment