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

Unified Diff: content/browser/tab_contents/navigation_entry.h

Issue 7819009: For the SSL cert status, convert anonymous enum that gives bit values into a typedefed uint32. Th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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: content/browser/tab_contents/navigation_entry.h
===================================================================
--- content/browser/tab_contents/navigation_entry.h (revision 98481)
+++ content/browser/tab_contents/navigation_entry.h (working copy)
@@ -14,6 +14,7 @@
#include "content/common/page_type.h"
#include "content/common/security_style.h"
#include "googleurl/src/gurl.h"
+#include "net/base/cert_status_flags.h"
#include "third_party/skia/include/core/SkBitmap.h"
class SiteInstance;
@@ -74,10 +75,10 @@
return cert_id_;
}
- void set_cert_status(int ssl_cert_status) {
+ void set_cert_status(net::CertStatus ssl_cert_status) {
cert_status_ = ssl_cert_status;
}
- int cert_status() const {
+ net::CertStatus cert_status() const {
return cert_status_;
}
@@ -124,7 +125,7 @@
// See the accessors above for descriptions.
SecurityStyle security_style_;
int cert_id_;
- int cert_status_;
+ net::CertStatus cert_status_;
int security_bits_;
int connection_status_;
int content_status_;

Powered by Google App Engine
This is Rietveld 408576698