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

Unified Diff: content/public/renderer/document_state.cc

Issue 13722005: Moves fields only accessed from content::DocumentState to content::InternalDocumentStateData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style tweak Created 7 years, 8 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/public/renderer/document_state.cc
diff --git a/content/public/renderer/document_state.cc b/content/public/renderer/document_state.cc
index 231c9d659ebd99c4ad92a6390ec33aaed9d2397f..854431b389f6bb23a757cdde7cd4dea04654cb97 100644
--- a/content/public/renderer/document_state.cc
+++ b/content/public/renderer/document_state.cc
@@ -6,28 +6,19 @@
#include "content/public/common/password_form.h"
#include "content/public/renderer/navigation_state.h"
-#include "webkit/glue/alt_error_page_resource_fetcher.h"
namespace content {
DocumentState::DocumentState()
: load_histograms_recorded_(false),
web_timing_histograms_recorded_(false),
- http_status_code_(0),
was_fetched_via_spdy_(false),
was_npn_negotiated_(false),
was_alternate_protocol_available_(false),
was_fetched_via_proxy_(false),
- use_error_page_(false),
- is_overriding_user_agent_(false),
- must_reset_scroll_and_scale_state_(false),
was_prefetcher_(false),
was_referred_by_prefetcher_(false),
load_type_(UNDEFINED_LOAD),
- cache_policy_override_set_(false),
- cache_policy_override_(WebKit::WebURLRequest::UseProtocolCachePolicy),
- referrer_policy_set_(false),
- referrer_policy_(WebKit::WebReferrerPolicyDefault),
can_load_local_resources_(false) {
}
@@ -38,11 +29,6 @@ void DocumentState::set_password_form_data(
password_form_data_.reset(data.release());
}
-void DocumentState::set_alt_error_page_fetcher(
- webkit_glue::AltErrorPageResourceFetcher* f) {
- alt_error_page_fetcher_.reset(f);
-}
-
void DocumentState::set_navigation_state(NavigationState* navigation_state) {
navigation_state_.reset(navigation_state);
}

Powered by Google App Engine
This is Rietveld 408576698