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/exceptions_page_gtk.h" | 5 #include "chrome/browser/gtk/options/exceptions_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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 PasswordStore* store = page_->GetPasswordStore(); | 192 PasswordStore* store = page_->GetPasswordStore(); |
193 pending_login_query_ = store->GetBlacklistLogins(this); | 193 pending_login_query_ = store->GetBlacklistLogins(this); |
194 } | 194 } |
195 | 195 |
196 void ExceptionsPageGtk::ExceptionListPopulater::OnPasswordStoreRequestDone( | 196 void ExceptionsPageGtk::ExceptionListPopulater::OnPasswordStoreRequestDone( |
197 int handle, const std::vector<webkit_glue::PasswordForm*>& result) { | 197 int handle, const std::vector<webkit_glue::PasswordForm*>& result) { |
198 DCHECK_EQ(pending_login_query_, handle); | 198 DCHECK_EQ(pending_login_query_, handle); |
199 pending_login_query_ = 0; | 199 pending_login_query_ = 0; |
200 page_->SetExceptionList(result); | 200 page_->SetExceptionList(result); |
201 } | 201 } |
OLD | NEW |