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

Side by Side Diff: chrome/browser/ui/webui/options/password_manager_handler.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/webui/options/password_manager_handler.h" 5 #include "chrome/browser/ui/webui/options/password_manager_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/chrome_notification_types.h" 12 #include "chrome/browser/chrome_notification_types.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #if defined(OS_WIN) && defined(USE_ASH) 14 #if defined(OS_WIN) && defined(USE_ASH)
15 #include "chrome/browser/ui/ash/ash_util.h" 15 #include "chrome/browser/ui/ash/ash_util.h"
16 #endif 16 #endif
17 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
18 #include "chrome/common/url_constants.h" 18 #include "chrome/common/url_constants.h"
19 #include "chrome/grit/generated_resources.h"
19 #include "components/autofill/core/common/password_form.h" 20 #include "components/autofill/core/common/password_form.h"
20 #include "content/public/browser/notification_details.h" 21 #include "content/public/browser/notification_details.h"
21 #include "content/public/browser/notification_source.h" 22 #include "content/public/browser/notification_source.h"
22 #include "content/public/browser/user_metrics.h" 23 #include "content/public/browser/user_metrics.h"
23 #include "content/public/browser/web_contents.h" 24 #include "content/public/browser/web_contents.h"
24 #include "content/public/browser/web_ui.h" 25 #include "content/public/browser/web_ui.h"
25 #include "grit/generated_resources.h"
26 #include "net/base/net_util.h" 26 #include "net/base/net_util.h"
27 27
28 namespace options { 28 namespace options {
29 29
30 PasswordManagerHandler::PasswordManagerHandler() 30 PasswordManagerHandler::PasswordManagerHandler()
31 : password_manager_presenter_(this) {} 31 : password_manager_presenter_(this) {}
32 32
33 PasswordManagerHandler::~PasswordManagerHandler() {} 33 PasswordManagerHandler::~PasswordManagerHandler() {}
34 34
35 Profile* PasswordManagerHandler::GetProfile() { 35 Profile* PasswordManagerHandler::GetProfile() {
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 for (size_t i = 0; i < password_exception_list.size(); ++i) { 180 for (size_t i = 0; i < password_exception_list.size(); ++i) {
181 entries.Append(new base::StringValue( 181 entries.Append(new base::StringValue(
182 net::FormatUrl(password_exception_list[i]->origin, languages_))); 182 net::FormatUrl(password_exception_list[i]->origin, languages_)));
183 } 183 }
184 184
185 web_ui()->CallJavascriptFunction("PasswordManager.setPasswordExceptionsList", 185 web_ui()->CallJavascriptFunction("PasswordManager.setPasswordExceptionsList",
186 entries); 186 entries);
187 } 187 }
188 188
189 } // namespace options 189 } // namespace options
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698