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

Unified Diff: chrome/browser/ui/toolbar/origin_chip_info.cc

Issue 345183005: Ensure all members of OriginChipInfo/OriginChipView get initialized. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reupload Created 6 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/origin_chip_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/toolbar/origin_chip_info.cc
diff --git a/chrome/browser/ui/toolbar/origin_chip_info.cc b/chrome/browser/ui/toolbar/origin_chip_info.cc
index 24b36f9f69e38eb67668e280e48d65990c4068da..2566e910950a5ed3f6d87b9ea492d0cd765ff98f 100644
--- a/chrome/browser/ui/toolbar/origin_chip_info.cc
+++ b/chrome/browser/ui/toolbar/origin_chip_info.cc
@@ -81,13 +81,17 @@ int StringForChromeHost(const GURL& url) {
} // namespace
-OriginChipInfo::OriginChipInfo(
- extensions::IconImage::Observer* owner,
- Profile* profile)
+OriginChipInfo::OriginChipInfo(extensions::IconImage::Observer* owner,
+ Profile* profile)
: owner_(owner),
- profile_(profile) {}
+ profile_(profile),
+ security_level_(ToolbarModel::NONE),
+ is_url_malware_(false),
+ icon_(IDR_PRODUCT_LOGO_16) {
+}
-OriginChipInfo::~OriginChipInfo() {}
+OriginChipInfo::~OriginChipInfo() {
+}
bool OriginChipInfo::Update(const content::WebContents* web_contents,
const ToolbarModel* toolbar_model) {
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/origin_chip_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698