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

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

Issue 12713007: Fix the no password save issue for ajax login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_
6 #define CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ 6 #define CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 const GURL& searchable_form_url() const { return searchable_form_url_; } 163 const GURL& searchable_form_url() const { return searchable_form_url_; }
164 void set_searchable_form_url(const GURL& url) { searchable_form_url_ = url; } 164 void set_searchable_form_url(const GURL& url) { searchable_form_url_ = url; }
165 const std::string& searchable_form_encoding() const { 165 const std::string& searchable_form_encoding() const {
166 return searchable_form_encoding_; 166 return searchable_form_encoding_;
167 } 167 }
168 void set_searchable_form_encoding(const std::string& encoding) { 168 void set_searchable_form_encoding(const std::string& encoding) {
169 searchable_form_encoding_ = encoding; 169 searchable_form_encoding_ = encoding;
170 } 170 }
171 171
172 // If set, contains the PasswordForm that we believe triggered the current
173 // navigation (there is some ambiguity in the case of javascript initiated
174 // navigations). This information is used by the PasswordManager to determine
175 // if the user should be prompted to save their password.
172 PasswordForm* password_form_data() const { 176 PasswordForm* password_form_data() const {
173 return password_form_data_.get(); 177 return password_form_data_.get();
174 } 178 }
175 void set_password_form_data(scoped_ptr<PasswordForm> data); 179 void set_password_form_data(scoped_ptr<PasswordForm> data);
176 180
177 const std::string& security_info() const { return security_info_; } 181 const std::string& security_info() const { return security_info_; }
178 void set_security_info(const std::string& security_info) { 182 void set_security_info(const std::string& security_info) {
179 security_info_ = security_info; 183 security_info_ = security_info;
180 } 184 }
181 185
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 scoped_ptr<webkit_glue::AltErrorPageResourceFetcher> alt_error_page_fetcher_; 309 scoped_ptr<webkit_glue::AltErrorPageResourceFetcher> alt_error_page_fetcher_;
306 310
307 scoped_ptr<NavigationState> navigation_state_; 311 scoped_ptr<NavigationState> navigation_state_;
308 312
309 bool can_load_local_resources_; 313 bool can_load_local_resources_;
310 }; 314 };
311 315
312 #endif // CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_ 316 #endif // CONTENT_PUBLIC_RENDERER_DOCUMENT_STATE_H_
313 317
314 } // namespace content 318 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698