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

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

Issue 1133613007: Move password_manager_util and password_bubble_experiment to components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@486739_componentise_experiment_utils_to_ios_sources
Patch Set: Created 5 years, 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/password_store_factory.h" 5 #include "chrome/browser/password_manager/password_store_factory.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/environment.h" 8 #include "base/environment.h"
9 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/thread_task_runner_handle.h"
12 #include "chrome/browser/password_manager/password_manager_util.h"
13 #include "chrome/browser/password_manager/sync_metrics.h" 12 #include "chrome/browser/password_manager/sync_metrics.h"
14 #include "chrome/browser/profiles/incognito_helpers.h" 13 #include "chrome/browser/profiles/incognito_helpers.h"
15 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/sync/glue/sync_start_util.h" 15 #include "chrome/browser/sync/glue/sync_start_util.h"
17 #include "chrome/browser/sync/profile_sync_service.h" 16 #include "chrome/browser/sync/profile_sync_service.h"
18 #include "chrome/browser/sync/profile_sync_service_factory.h" 17 #include "chrome/browser/sync/profile_sync_service_factory.h"
19 #include "chrome/browser/webdata/web_data_service_factory.h" 18 #include "chrome/browser/webdata/web_data_service_factory.h"
20 #include "chrome/common/chrome_constants.h" 19 #include "chrome/common/chrome_constants.h"
21 #include "chrome/common/chrome_switches.h" 20 #include "chrome/common/chrome_switches.h"
22 #include "components/keyed_service/content/browser_context_dependency_manager.h" 21 #include "components/keyed_service/content/browser_context_dependency_manager.h"
23 #include "components/os_crypt/os_crypt_switches.h" 22 #include "components/os_crypt/os_crypt_switches.h"
24 #include "components/password_manager/core/browser/affiliated_match_helper.h" 23 #include "components/password_manager/core/browser/affiliated_match_helper.h"
25 #include "components/password_manager/core/browser/affiliation_service.h" 24 #include "components/password_manager/core/browser/affiliation_service.h"
26 #include "components/password_manager/core/browser/affiliation_utils.h" 25 #include "components/password_manager/core/browser/affiliation_utils.h"
27 #include "components/password_manager/core/browser/login_database.h" 26 #include "components/password_manager/core/browser/login_database.h"
27 #include "components/password_manager/core/browser/password_manager_util.h"
28 #include "components/password_manager/core/browser/password_store.h" 28 #include "components/password_manager/core/browser/password_store.h"
29 #include "components/password_manager/core/browser/password_store_default.h" 29 #include "components/password_manager/core/browser/password_store_default.h"
30 #include "components/password_manager/core/common/password_manager_pref_names.h" 30 #include "components/password_manager/core/common/password_manager_pref_names.h"
31 #include "components/pref_registry/pref_registry_syncable.h" 31 #include "components/pref_registry/pref_registry_syncable.h"
32 #include "content/public/browser/browser_thread.h" 32 #include "content/public/browser/browser_thread.h"
33 33
34 #if defined(OS_WIN) 34 #if defined(OS_WIN)
35 #include "chrome/browser/password_manager/password_store_win.h" 35 #include "chrome/browser/password_manager/password_store_win.h"
36 #include "components/password_manager/core/browser/webdata/password_web_data_ser vice_win.h" 36 #include "components/password_manager/core/browser/webdata/password_web_data_ser vice_win.h"
37 #elif defined(OS_MACOSX) 37 #elif defined(OS_MACOSX)
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 break; 445 break;
446 case LIBSECRET: 446 case LIBSECRET:
447 usage = OTHER_LIBSECRET; 447 usage = OTHER_LIBSECRET;
448 break; 448 break;
449 } 449 }
450 } 450 }
451 UMA_HISTOGRAM_ENUMERATION("PasswordManager.LinuxBackendStatistics", usage, 451 UMA_HISTOGRAM_ENUMERATION("PasswordManager.LinuxBackendStatistics", usage,
452 MAX_BACKEND_USAGE_VALUE); 452 MAX_BACKEND_USAGE_VALUE);
453 } 453 }
454 #endif 454 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698