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

Side by Side Diff: content/public/renderer/document_state.cc

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/renderer/document_state.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/renderer/document_state.h" 5 #include "content/public/renderer/document_state.h"
6 6
7 #include "content/public/renderer/navigation_state.h" 7 #include "content/public/renderer/navigation_state.h"
8 #include "webkit/forms/password_form.h"
8 #include "webkit/glue/alt_error_page_resource_fetcher.h" 9 #include "webkit/glue/alt_error_page_resource_fetcher.h"
9 #include "webkit/glue/password_form.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 DocumentState::DocumentState() 13 DocumentState::DocumentState()
14 : load_histograms_recorded_(false), 14 : load_histograms_recorded_(false),
15 web_timing_histograms_recorded_(false), 15 web_timing_histograms_recorded_(false),
16 http_status_code_(0), 16 http_status_code_(0),
17 was_fetched_via_spdy_(false), 17 was_fetched_via_spdy_(false),
18 was_npn_negotiated_(false), 18 was_npn_negotiated_(false),
19 was_alternate_protocol_available_(false), 19 was_alternate_protocol_available_(false),
20 was_fetched_via_proxy_(false), 20 was_fetched_via_proxy_(false),
21 use_error_page_(false), 21 use_error_page_(false),
22 was_prefetcher_(false), 22 was_prefetcher_(false),
23 was_referred_by_prefetcher_(false), 23 was_referred_by_prefetcher_(false),
24 load_type_(UNDEFINED_LOAD), 24 load_type_(UNDEFINED_LOAD),
25 cache_policy_override_set_(false), 25 cache_policy_override_set_(false),
26 cache_policy_override_(WebKit::WebURLRequest::UseProtocolCachePolicy) { 26 cache_policy_override_(WebKit::WebURLRequest::UseProtocolCachePolicy) {
27 } 27 }
28 28
29 DocumentState::~DocumentState() {} 29 DocumentState::~DocumentState() {}
30 30
31 void DocumentState::set_password_form_data(webkit_glue::PasswordForm* data) { 31 void DocumentState::set_password_form_data(webkit::forms::PasswordForm* data) {
32 password_form_data_.reset(data); 32 password_form_data_.reset(data);
33 } 33 }
34 34
35 void DocumentState::set_alt_error_page_fetcher( 35 void DocumentState::set_alt_error_page_fetcher(
36 webkit_glue::AltErrorPageResourceFetcher* f) { 36 webkit_glue::AltErrorPageResourceFetcher* f) {
37 alt_error_page_fetcher_.reset(f); 37 alt_error_page_fetcher_.reset(f);
38 } 38 }
39 39
40 void DocumentState::set_navigation_state(NavigationState* navigation_state) { 40 void DocumentState::set_navigation_state(NavigationState* navigation_state) {
41 navigation_state_.reset(navigation_state); 41 navigation_state_.reset(navigation_state);
42 } 42 }
43 43
44 } // namespace content 44 } // namespace content
OLDNEW
« no previous file with comments | « content/public/renderer/document_state.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698