Commit c57b6547 authored by Fabio Rocha's avatar Fabio Rocha Committed by Commit Bot

dpwa: Remove scoped feature list from PendingAppInstallTaskTest

Remove scoped feature list from PendingAppInstallTaskTest in
pending_app_install_task_unittest.cc, now that
kDesktopPWAsWithoutExtensions is always true.

Bug: 1065748
Change-Id: I8ba6afa8f1d3e33133175e37a9a9dfc72f93f406
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2459189Reviewed-by: default avatarAlexey Baskakov <loyso@chromium.org>
Commit-Queue: Fabio Rocha <fabio.rocha@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#815159}
parent 77b36bd1
...@@ -268,10 +268,7 @@ class TestPendingAppInstallFinalizer : public InstallFinalizer { ...@@ -268,10 +268,7 @@ class TestPendingAppInstallFinalizer : public InstallFinalizer {
class PendingAppInstallTaskTest : public ChromeRenderViewHostTestHarness { class PendingAppInstallTaskTest : public ChromeRenderViewHostTestHarness {
public: public:
PendingAppInstallTaskTest() { PendingAppInstallTaskTest() = default;
scoped_feature_list_.InitWithFeatures(
{}, {features::kDesktopPWAsWithoutExtensions});
}
PendingAppInstallTaskTest(const PendingAppInstallTaskTest&) = delete; PendingAppInstallTaskTest(const PendingAppInstallTaskTest&) = delete;
PendingAppInstallTaskTest& operator=(const PendingAppInstallTaskTest&) = PendingAppInstallTaskTest& operator=(const PendingAppInstallTaskTest&) =
delete; delete;
...@@ -363,8 +360,6 @@ class PendingAppInstallTaskTest : public ChromeRenderViewHostTestHarness { ...@@ -363,8 +360,6 @@ class PendingAppInstallTaskTest : public ChromeRenderViewHostTestHarness {
} }
private: private:
base::test::ScopedFeatureList scoped_feature_list_;
WebAppInstallManager* install_manager_ = nullptr; WebAppInstallManager* install_manager_ = nullptr;
TestAppRegistrar* registrar_ = nullptr; TestAppRegistrar* registrar_ = nullptr;
TestDataRetriever* data_retriever_ = nullptr; TestDataRetriever* data_retriever_ = nullptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment