diff options
author | vabr <vabr@chromium.org> | 2015-07-28 02:47:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-28 09:47:57 +0000 |
commit | fc0d8c7bbf39d85952ef225ea8b7e114c7682e42 (patch) | |
tree | 7283eb73e6e5385e21963af525fdb5a9aaf76c84 | |
parent | 35c6f0bb3a385ef8edf01f24eca02f447ccb1355 (diff) | |
download | chromium_src-fc0d8c7bbf39d85952ef225ea8b7e114c7682e42.zip chromium_src-fc0d8c7bbf39d85952ef225ea8b7e114c7682e42.tar.gz chromium_src-fc0d8c7bbf39d85952ef225ea8b7e114c7682e42.tar.bz2 |
Move password_manager_metrics_util_unittest.cc to its component
Also do a necessary reformatting to pass the presubmit test.
BUG=514209
Review URL: https://codereview.chromium.org/1254273002
Cr-Commit-Position: refs/heads/master@{#340660}
-rw-r--r-- | chrome/chrome_tests_unit.gypi | 1 | ||||
-rw-r--r-- | components/components_tests.gyp | 1 | ||||
-rw-r--r-- | components/password_manager/core/browser/password_manager_metrics_util_unittest.cc (renamed from chrome/browser/password_manager/password_manager_metrics_util_unittest.cc) | 15 |
3 files changed, 6 insertions, 11 deletions
diff --git a/chrome/chrome_tests_unit.gypi b/chrome/chrome_tests_unit.gypi index 8a6cccf..741c181 100644 --- a/chrome/chrome_tests_unit.gypi +++ b/chrome/chrome_tests_unit.gypi @@ -162,7 +162,6 @@ 'browser/net/url_info_unittest.cc', 'browser/password_manager/chrome_password_manager_client_unittest.cc', 'browser/password_manager/password_manager_internals_service_unittest.cc', - 'browser/password_manager/password_manager_metrics_util_unittest.cc', 'browser/password_manager/password_store_mac_unittest.cc', 'browser/password_manager/password_store_proxy_mac_unittest.cc', 'browser/password_manager/password_store_win_unittest.cc', diff --git a/components/components_tests.gyp b/components/components_tests.gyp index 246ff17..aa40d13 100644 --- a/components/components_tests.gyp +++ b/components/components_tests.gyp @@ -388,6 +388,7 @@ 'password_manager/core/browser/password_autofill_manager_unittest.cc', 'password_manager/core/browser/password_form_manager_unittest.cc', 'password_manager/core/browser/password_generation_manager_unittest.cc', + 'password_manager/core/browser/password_manager_metrics_util_unittest.cc', 'password_manager/core/browser/password_manager_unittest.cc', 'password_manager/core/browser/password_store_default_unittest.cc', 'password_manager/core/browser/password_store_unittest.cc', diff --git a/chrome/browser/password_manager/password_manager_metrics_util_unittest.cc b/components/password_manager/core/browser/password_manager_metrics_util_unittest.cc index ed4a719..d71aa3d 100644 --- a/chrome/browser/password_manager/password_manager_metrics_util_unittest.cc +++ b/components/password_manager/core/browser/password_manager_metrics_util_unittest.cc @@ -34,16 +34,11 @@ class PasswordManagerMetricsUtilTest : public testing::Test { TEST_F(PasswordManagerMetricsUtilTest, MonitoredDomainGroupAssigmentTest) { const char* const kMonitoredWebsites[] = { - "https://www.google.com", - "https://www.yahoo.com", - "https://www.baidu.com", - "https://www.wikipedia.org", - "https://www.linkedin.com", - "https://www.twitter.com", - "https://www.facebook.com", - "https://www.amazon.com", - "https://www.ebay.com", - "https://www.tumblr.com", + "https://www.google.com", "https://www.yahoo.com", + "https://www.baidu.com", "https://www.wikipedia.org", + "https://www.linkedin.com", "https://www.twitter.com", + "https://www.facebook.com", "https://www.amazon.com", + "https://www.ebay.com", "https://www.tumblr.com", }; const size_t kMonitoredWebsitesLength = arraysize(kMonitoredWebsites); |