OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/dom_ui/passwords_remove_all_handler.h" |
| 6 |
| 7 #include "app/l10n_util.h" |
| 8 #include "base/basictypes.h" |
| 9 #include "base/values.h" |
| 10 #include "base/callback.h" |
| 11 #include "grit/chromium_strings.h" |
| 12 #include "grit/generated_resources.h" |
| 13 #include "chrome/browser/sync/profile_sync_service.h" |
| 14 #include "chrome/browser/profile.h" |
| 15 #include "chrome/browser/profile_manager.h" |
| 16 #include "chrome/browser/dom_ui/passwords_exceptions_handler.h" |
| 17 |
| 18 PasswordsRemoveAllHandler::PasswordsRemoveAllHandler() { |
| 19 } |
| 20 |
| 21 PasswordsRemoveAllHandler::~PasswordsRemoveAllHandler() { |
| 22 } |
| 23 |
| 24 void PasswordsRemoveAllHandler::GetLocalizedValues( |
| 25 DictionaryValue* localized_strings) { |
| 26 DCHECK(localized_strings); |
| 27 localized_strings->SetString("remove_all_explanation", |
| 28 l10n_util::GetStringUTF16( |
| 29 IDS_PASSWORDS_PAGE_VIEW_TEXT_DELETE_ALL_PASSWORDS)); |
| 30 localized_strings->SetString("remove_all_title", |
| 31 l10n_util::GetStringUTF16( |
| 32 IDS_PASSWORDS_PAGE_VIEW_CAPTION_DELETE_ALL_PASSWORDS)); |
| 33 localized_strings->SetString("remove_all_yes", |
| 34 l10n_util::GetStringUTF16(IDS_CONFIRM_MESSAGEBOX_YES_BUTTON_LABEL)); |
| 35 localized_strings->SetString("remove_all_no", |
| 36 l10n_util::GetStringUTF16(IDS_CONFIRM_MESSAGEBOX_NO_BUTTON_LABEL)); |
| 37 } |
| 38 |
| 39 void PasswordsRemoveAllHandler::RegisterMessages() { |
| 40 DCHECK(dom_ui_); |
| 41 } |
OLD | NEW |