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

Unified Diff: chrome/browser/net/url_info.cc

Issue 3859003: FBTF: Even more ctor/virtual deinlining. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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: chrome/browser/net/url_info.cc
diff --git a/chrome/browser/net/url_info.cc b/chrome/browser/net/url_info.cc
index cbf35dbe248e7c8d6aef97809e02c678a0b409f5..c3833593e8b99f932085ef50a95cd4f56d8860ab 100644
--- a/chrome/browser/net/url_info.cc
+++ b/chrome/browser/net/url_info.cc
@@ -30,6 +30,17 @@ void EnablePredictorDetailedLog(bool enable) {
// static
int UrlInfo::sequence_counter = 1;
+UrlInfo::UrlInfo()
+ : state_(PENDING),
+ old_prequeue_state_(state_),
+ resolve_duration_(kNullDuration),
+ queue_duration_(kNullDuration),
+ sequence_number_(0),
+ motivation_(NO_PREFETCH_MOTIVATION),
+ was_linked_(false) {
+}
+
+UrlInfo::~UrlInfo() {}
bool UrlInfo::NeedsDnsUpdate() {
switch (state_) {

Powered by Google App Engine
This is Rietveld 408576698