| Index: chrome/browser/browsing_data/hosted_apps_counter_unittest.cc
|
| diff --git a/chrome/browser/browsing_data/hosted_apps_counter_unittest.cc b/chrome/browser/browsing_data/hosted_apps_counter_unittest.cc
|
| index c997eaf2626c3b88bed08a92bc08eca878154c46..58fe8438101dec64b05c2dee7e1298554185ee68 100644
|
| --- a/chrome/browser/browsing_data/hosted_apps_counter_unittest.cc
|
| +++ b/chrome/browser/browsing_data/hosted_apps_counter_unittest.cc
|
| @@ -152,8 +152,10 @@ class HostedAppsCounterTest : public testing::Test {
|
| TEST_F(HostedAppsCounterTest, Count) {
|
| Profile* profile = GetProfile();
|
| HostedAppsCounter counter(profile);
|
| - counter.Init(profile->GetPrefs(), base::Bind(&HostedAppsCounterTest::Callback,
|
| - base::Unretained(this)));
|
| + counter.Init(
|
| + profile->GetPrefs(),
|
| + browsing_data::ClearBrowsingDataPreferenceType::DEFAULT,
|
| + base::Bind(&HostedAppsCounterTest::Callback, base::Unretained(this)));
|
| counter.Restart();
|
| EXPECT_EQ(0u, GetNumHostedApps());
|
|
|
| @@ -178,8 +180,10 @@ TEST_F(HostedAppsCounterTest, Count) {
|
| TEST_F(HostedAppsCounterTest, OnlyHostedApps) {
|
| Profile* profile = GetProfile();
|
| HostedAppsCounter counter(profile);
|
| - counter.Init(profile->GetPrefs(), base::Bind(&HostedAppsCounterTest::Callback,
|
| - base::Unretained(this)));
|
| + counter.Init(
|
| + profile->GetPrefs(),
|
| + browsing_data::ClearBrowsingDataPreferenceType::DEFAULT,
|
| + base::Bind(&HostedAppsCounterTest::Callback, base::Unretained(this)));
|
|
|
| AddHostedApp(); // 1
|
| AddExtension();
|
| @@ -215,8 +219,10 @@ TEST_F(HostedAppsCounterTest, OnlyHostedApps) {
|
| TEST_F(HostedAppsCounterTest, Examples) {
|
| Profile* profile = GetProfile();
|
| HostedAppsCounter counter(profile);
|
| - counter.Init(profile->GetPrefs(), base::Bind(&HostedAppsCounterTest::Callback,
|
| - base::Unretained(this)));
|
| + counter.Init(
|
| + profile->GetPrefs(),
|
| + browsing_data::ClearBrowsingDataPreferenceType::DEFAULT,
|
| + base::Bind(&HostedAppsCounterTest::Callback, base::Unretained(this)));
|
| counter.Restart();
|
| EXPECT_EQ(0u, GetExamples().size());
|
|
|
|
|