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

Side by Side Diff: chrome/browser/password_manager/account_chooser_dialog_android.cc

Issue 2345843003: [Sync] Merge //components/browser_sync into one directory. (Closed)
Patch Set: Address comment + rebase. Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/password_manager/account_chooser_dialog_android.h" 5 #include "chrome/browser/password_manager/account_chooser_dialog_android.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/android/jni_android.h" 9 #include "base/android/jni_android.h"
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "chrome/browser/password_manager/chrome_password_manager_client.h" 13 #include "chrome/browser/password_manager/chrome_password_manager_client.h"
14 #include "chrome/browser/password_manager/credential_android.h" 14 #include "chrome/browser/password_manager/credential_android.h"
15 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/sync/profile_sync_service_factory.h" 16 #include "chrome/browser/sync/profile_sync_service_factory.h"
17 #include "chrome/browser/ui/passwords/account_avatar_fetcher.h" 17 #include "chrome/browser/ui/passwords/account_avatar_fetcher.h"
18 #include "chrome/browser/ui/passwords/manage_passwords_view_utils.h" 18 #include "chrome/browser/ui/passwords/manage_passwords_view_utils.h"
19 #include "chrome/grit/generated_resources.h" 19 #include "chrome/grit/generated_resources.h"
20 #include "components/browser_sync/browser/profile_sync_service.h" 20 #include "components/browser_sync/profile_sync_service.h"
21 #include "components/password_manager/core/browser/password_bubble_experiment.h" 21 #include "components/password_manager/core/browser/password_bubble_experiment.h"
22 #include "components/password_manager/core/browser/password_manager_constants.h" 22 #include "components/password_manager/core/browser/password_manager_constants.h"
23 #include "components/password_manager/core/browser/password_manager_metrics_util .h" 23 #include "components/password_manager/core/browser/password_manager_metrics_util .h"
24 #include "components/password_manager/core/browser/password_ui_utils.h" 24 #include "components/password_manager/core/browser/password_ui_utils.h"
25 #include "components/password_manager/core/common/credential_manager_types.h" 25 #include "components/password_manager/core/common/credential_manager_types.h"
26 #include "jni/AccountChooserDialog_jni.h" 26 #include "jni/AccountChooserDialog_jni.h"
27 #include "ui/android/window_android.h" 27 #include "ui/android/window_android.h"
28 #include "ui/base/l10n/l10n_util.h" 28 #include "ui/base/l10n/l10n_util.h"
29 #include "ui/gfx/android/java_bitmap.h" 29 #include "ui/gfx/android/java_bitmap.h"
30 #include "ui/gfx/range/range.h" 30 #include "ui/gfx/range/range.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 action); 258 action);
259 } else { 259 } else {
260 password_manager::metrics_util::LogAccountChooserUserActionManyAccounts( 260 password_manager::metrics_util::LogAccountChooserUserActionManyAccounts(
261 action); 261 action);
262 } 262 }
263 } 263 }
264 264
265 bool RegisterAccountChooserDialogAndroid(JNIEnv* env) { 265 bool RegisterAccountChooserDialogAndroid(JNIEnv* env) {
266 return RegisterNativesImpl(env); 266 return RegisterNativesImpl(env);
267 } 267 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698