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

Side by Side Diff: chrome/browser/ui/passwords/password_bubble_experiment_unittest.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 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 "chrome/browser/ui/passwords/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"
11 #include "components/variations/variations_associated_data.h" 11 #include "components/variations/variations_associated_data.h"
12 #include "content/public/test/test_browser_thread_bundle.h" 12 #include "content/public/test/test_browser_thread_bundle.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 class PasswordBubbleExperimentTest : public testing::Test { 15 class PasswordBubbleExperimentTest : public testing::Test {
(...skipping 13 matching lines...) Expand all
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 scoped_ptr<TestingProfile> profile_;
35 scoped_ptr<base::FieldTrialList> field_trial_list_; 35 scoped_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.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698