OLD | NEW |
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 "chrome/browser/dom_ui/options/password_manager_handler.h" | 5 #include "chrome/browser/dom_ui/options/password_manager_handler.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/stl_util-inl.h" | 8 #include "base/stl_util-inl.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 } | 201 } |
202 | 202 |
203 void PasswordManagerHandler::PasswordExceptionListPopulater:: | 203 void PasswordManagerHandler::PasswordExceptionListPopulater:: |
204 OnPasswordStoreRequestDone(int handle, | 204 OnPasswordStoreRequestDone(int handle, |
205 const std::vector<webkit_glue::PasswordForm*>& result) { | 205 const std::vector<webkit_glue::PasswordForm*>& result) { |
206 DCHECK_EQ(pending_login_query_, handle); | 206 DCHECK_EQ(pending_login_query_, handle); |
207 pending_login_query_ = 0; | 207 pending_login_query_ = 0; |
208 page_->password_exception_list_ = result; | 208 page_->password_exception_list_ = result; |
209 page_->SetPasswordExceptionList(); | 209 page_->SetPasswordExceptionList(); |
210 } | 210 } |
OLD | NEW |