Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: chrome/browser/dom_ui/passwords_remove_all_handler.cc

Issue 3177023: Implement Password Exceptions Tab (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: sync Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/passwords_remove_all_handler.h ('k') | chrome/browser/resources/options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698