| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_exceptions_page_gtk.h" | 5 #include "chrome/browser/gtk/options/passwords_exceptions_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" |
| 12 #include "chrome/browser/gtk/gtk_tree.h" | 12 #include "chrome/browser/gtk/gtk_tree.h" |
| 13 #include "chrome/browser/gtk/gtk_util.h" | 13 #include "chrome/browser/gtk/gtk_util.h" |
| 14 #include "chrome/browser/pref_service.h" | 14 #include "chrome/browser/prefs/pref_service.h" |
| 15 #include "chrome/common/pref_names.h" | 15 #include "chrome/common/pref_names.h" |
| 16 #include "chrome/common/url_constants.h" | 16 #include "chrome/common/url_constants.h" |
| 17 #include "gfx/gtk_util.h" | 17 #include "gfx/gtk_util.h" |
| 18 #include "grit/app_resources.h" | 18 #include "grit/app_resources.h" |
| 19 #include "grit/chromium_strings.h" | 19 #include "grit/chromium_strings.h" |
| 20 #include "grit/generated_resources.h" | 20 #include "grit/generated_resources.h" |
| 21 #include "net/base/net_util.h" | 21 #include "net/base/net_util.h" |
| 22 | 22 |
| 23 namespace { | 23 namespace { |
| 24 | 24 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 pending_login_query_ = store->GetBlacklistLogins(this); | 189 pending_login_query_ = store->GetBlacklistLogins(this); |
| 190 } | 190 } |
| 191 | 191 |
| 192 void | 192 void |
| 193 PasswordsExceptionsPageGtk::ExceptionListPopulater::OnPasswordStoreRequestDone( | 193 PasswordsExceptionsPageGtk::ExceptionListPopulater::OnPasswordStoreRequestDone( |
| 194 int handle, const std::vector<webkit_glue::PasswordForm*>& result) { | 194 int handle, const std::vector<webkit_glue::PasswordForm*>& result) { |
| 195 DCHECK_EQ(pending_login_query_, handle); | 195 DCHECK_EQ(pending_login_query_, handle); |
| 196 pending_login_query_ = 0; | 196 pending_login_query_ = 0; |
| 197 page_->SetExceptionList(result); | 197 page_->SetExceptionList(result); |
| 198 } | 198 } |
| OLD | NEW |