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

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

Issue 2723503003: Remove useless includes to ash_util.h (Closed)
Patch Set: remove dependency and fix presubmit warning Created 3 years, 9 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
« no previous file with comments | « chrome/browser/ui/ash/launcher/settings_window_observer.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "content/public/browser/browser_thread.h" 42 #include "content/public/browser/browser_thread.h"
43 #include "content/public/browser/notification_details.h" 43 #include "content/public/browser/notification_details.h"
44 #include "content/public/browser/notification_source.h" 44 #include "content/public/browser/notification_source.h"
45 #include "content/public/browser/user_metrics.h" 45 #include "content/public/browser/user_metrics.h"
46 #include "content/public/browser/web_contents.h" 46 #include "content/public/browser/web_contents.h"
47 #include "content/public/browser/web_ui.h" 47 #include "content/public/browser/web_ui.h"
48 #include "content/public/common/content_features.h" 48 #include "content/public/common/content_features.h"
49 #include "content/public/common/origin_util.h" 49 #include "content/public/common/origin_util.h"
50 #include "ui/base/l10n/l10n_util.h" 50 #include "ui/base/l10n/l10n_util.h"
51 51
52 #if defined(OS_WIN) && defined(USE_ASH)
53 #include "chrome/browser/ui/ash/ash_util.h"
54 #endif
55
56 namespace options { 52 namespace options {
57 53
58 namespace { 54 namespace {
59 // The following constants should be synchronized with the constants in 55 // The following constants should be synchronized with the constants in
60 // chrome/browser/resources/options/password_manager_list.js. 56 // chrome/browser/resources/options/password_manager_list.js.
61 const char kUrlField[] = "url"; 57 const char kUrlField[] = "url";
62 const char kShownOriginField[] = "shownOrigin"; 58 const char kShownOriginField[] = "shownOrigin";
63 const char kIsAndroidUriField[] = "isAndroidUri"; 59 const char kIsAndroidUriField[] = "isAndroidUri";
64 const char kIsClickable[] = "isClickable"; 60 const char kIsClickable[] = "isClickable";
65 const char kIsSecureField[] = "isSecure"; 61 const char kIsSecureField[] = "isSecure";
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 password_manager_presenter_->GetAllPasswords(); 399 password_manager_presenter_->GetAllPasswords();
404 UMA_HISTOGRAM_COUNTS("PasswordManager.ExportedPasswordsPerUserInCSV", 400 UMA_HISTOGRAM_COUNTS("PasswordManager.ExportedPasswordsPerUserInCSV",
405 password_list.size()); 401 password_list.size());
406 password_manager::PasswordExporter::Export( 402 password_manager::PasswordExporter::Export(
407 path, password_list, content::BrowserThread::GetTaskRunnerForThread( 403 path, password_list, content::BrowserThread::GetTaskRunnerForThread(
408 content::BrowserThread::FILE) 404 content::BrowserThread::FILE)
409 .get()); 405 .get());
410 } 406 }
411 407
412 } // namespace options 408 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/launcher/settings_window_observer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698