| OLD | NEW |
| 1 // Copyright (c) 2010 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/gtk/options/passwords_page_gtk.h" | 5 #include "chrome/browser/gtk/options/passwords_page_gtk.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "base/stl_util-inl.h" | 10 #include "base/stl_util-inl.h" |
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 else | 358 else |
| 359 LOG(ERROR) << "No password store! Cannot display passwords."; | 359 LOG(ERROR) << "No password store! Cannot display passwords."; |
| 360 } | 360 } |
| 361 | 361 |
| 362 void PasswordsPageGtk::PasswordListPopulater::OnPasswordStoreRequestDone( | 362 void PasswordsPageGtk::PasswordListPopulater::OnPasswordStoreRequestDone( |
| 363 int handle, const std::vector<webkit_glue::PasswordForm*>& result) { | 363 int handle, const std::vector<webkit_glue::PasswordForm*>& result) { |
| 364 DCHECK_EQ(pending_login_query_, handle); | 364 DCHECK_EQ(pending_login_query_, handle); |
| 365 pending_login_query_ = 0; | 365 pending_login_query_ = 0; |
| 366 page_->SetPasswordList(result); | 366 page_->SetPasswordList(result); |
| 367 } | 367 } |
| OLD | NEW |