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

Side by Side Diff: chrome/browser/ui/passwords/manage_passwords_bubble_model_unittest.cc

Issue 1501123003: Componentize ProfileSyncServiceMock (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@565305_InitParam
Patch Set: Just rebased Created 5 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <vector> 5 #include <vector>
6 6
7 #include "base/metrics/field_trial.h" 7 #include "base/metrics/field_trial.h"
8 #include "base/metrics/histogram_samples.h" 8 #include "base/metrics/histogram_samples.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "base/test/histogram_tester.h" 11 #include "base/test/histogram_tester.h"
12 #include "base/test/simple_test_clock.h" 12 #include "base/test/simple_test_clock.h"
13 #include "chrome/browser/password_manager/password_store_factory.h" 13 #include "chrome/browser/password_manager/password_store_factory.h"
14 #include "chrome/browser/sync/profile_sync_service_factory.h" 14 #include "chrome/browser/sync/profile_sync_service_factory.h"
15 #include "chrome/browser/sync/profile_sync_service_mock.h"
16 #include "chrome/browser/sync/profile_sync_test_util.h" 15 #include "chrome/browser/sync/profile_sync_test_util.h"
17 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" 16 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
18 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h" 17 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h"
19 #include "chrome/test/base/testing_profile.h" 18 #include "chrome/test/base/testing_profile.h"
19 #include "components/browser_sync/browser/profile_sync_service_mock.h"
20 #include "components/password_manager/core/browser/mock_password_store.h" 20 #include "components/password_manager/core/browser/mock_password_store.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_metrics_util .h" 22 #include "components/password_manager/core/browser/password_manager_metrics_util .h"
23 #include "components/password_manager/core/browser/password_manager_test_utils.h " 23 #include "components/password_manager/core/browser/password_manager_test_utils.h "
24 #include "components/password_manager/core/browser/statistics_table.h" 24 #include "components/password_manager/core/browser/statistics_table.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 "components/password_manager/core/common/password_manager_pref_names.h" 26 #include "components/password_manager/core/common/password_manager_pref_names.h"
27 #include "components/password_manager/core/common/password_manager_ui.h" 27 #include "components/password_manager/core/common/password_manager_ui.h"
28 #include "content/public/test/test_browser_thread_bundle.h" 28 #include "content/public/test/test_browser_thread_bundle.h"
29 #include "content/public/test/web_contents_tester.h" 29 #include "content/public/test/web_contents_tester.h"
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 BrandLinkTarget::SMART_LOCK_HOME}, 584 BrandLinkTarget::SMART_LOCK_HOME},
585 {kSmartLockBrandingSavePromptOnlyGroupName, SmartLockStatus::ENABLE, 585 {kSmartLockBrandingSavePromptOnlyGroupName, SmartLockStatus::ENABLE,
586 BrandLinkTarget::SMART_LOCK_HELP}, 586 BrandLinkTarget::SMART_LOCK_HELP},
587 }; 587 };
588 588
589 } // namespace 589 } // namespace
590 590
591 INSTANTIATE_TEST_CASE_P(Default, 591 INSTANTIATE_TEST_CASE_P(Default,
592 ManagePasswordsBubbleModelBrandLinkTest, 592 ManagePasswordsBubbleModelBrandLinkTest,
593 ::testing::ValuesIn(kBrandLinkTestCases)); 593 ::testing::ValuesIn(kBrandLinkTestCases));
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_ui_util_unittest.cc ('k') | chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698