OLD | NEW |
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 "components/password_manager/core/browser/password_bubble_experiment.h" | 5 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
6 | 6 |
7 #include "base/files/scoped_temp_dir.h" | 7 #include "base/files/scoped_temp_dir.h" |
8 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
9 #include "chrome/test/base/testing_profile.h" | 9 #include "chrome/test/base/testing_profile.h" |
10 #include "components/variations/entropy_provider.h" | 10 #include "components/variations/entropy_provider.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 void TearDown() override { | 25 void TearDown() override { |
26 variations::testing::ClearAllVariationParams(); | 26 variations::testing::ClearAllVariationParams(); |
27 } | 27 } |
28 | 28 |
29 PrefService* prefs() { return profile_->GetPrefs(); } | 29 PrefService* prefs() { return profile_->GetPrefs(); } |
30 | 30 |
31 private: | 31 private: |
32 content::TestBrowserThreadBundle thread_bundle_; | 32 content::TestBrowserThreadBundle thread_bundle_; |
33 base::ScopedTempDir temp_dir_; | 33 base::ScopedTempDir temp_dir_; |
34 scoped_ptr<TestingProfile> profile_; | 34 std::unique_ptr<TestingProfile> profile_; |
35 scoped_ptr<base::FieldTrialList> field_trial_list_; | 35 std::unique_ptr<base::FieldTrialList> field_trial_list_; |
36 }; | 36 }; |
37 | 37 |
38 // TODO(vasilii): add tests once there is a smart bubble. | 38 // TODO(vasilii): add tests once there is a smart bubble. |
OLD | NEW |