OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "app/gfx/gtk_util.h" |
7 #include "app/l10n_util.h" | 8 #include "app/l10n_util.h" |
8 #include "app/resource_bundle.h" | 9 #include "app/resource_bundle.h" |
9 #include "base/gfx/gtk_util.h" | |
10 #include "chrome/common/gtk_tree.h" | 10 #include "chrome/common/gtk_tree.h" |
11 #include "chrome/common/gtk_util.h" | 11 #include "chrome/common/gtk_util.h" |
12 #include "chrome/common/pref_names.h" | 12 #include "chrome/common/pref_names.h" |
13 #include "chrome/common/pref_service.h" | 13 #include "chrome/common/pref_service.h" |
14 #include "chrome/common/url_constants.h" | 14 #include "chrome/common/url_constants.h" |
15 #include "grit/app_resources.h" | 15 #include "grit/app_resources.h" |
16 #include "grit/chromium_strings.h" | 16 #include "grit/chromium_strings.h" |
17 #include "grit/generated_resources.h" | 17 #include "grit/generated_resources.h" |
18 #include "net/base/net_util.h" | 18 #include "net/base/net_util.h" |
19 | 19 |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 PasswordStore* store = page_->GetPasswordStore(); | 317 PasswordStore* store = page_->GetPasswordStore(); |
318 pending_login_query_ = store->GetAutofillableLogins(this); | 318 pending_login_query_ = store->GetAutofillableLogins(this); |
319 } | 319 } |
320 | 320 |
321 void PasswordsPageGtk::PasswordListPopulater::OnPasswordStoreRequestDone( | 321 void PasswordsPageGtk::PasswordListPopulater::OnPasswordStoreRequestDone( |
322 int handle, const std::vector<webkit_glue::PasswordForm*>& result) { | 322 int handle, const std::vector<webkit_glue::PasswordForm*>& result) { |
323 DCHECK_EQ(pending_login_query_, handle); | 323 DCHECK_EQ(pending_login_query_, handle); |
324 pending_login_query_ = 0; | 324 pending_login_query_ = 0; |
325 page_->SetPasswordList(result); | 325 page_->SetPasswordList(result); |
326 } | 326 } |
OLD | NEW |