Commit 9a335ec8 authored by Becca Hughes's avatar Becca Hughes Committed by Commit Bot

Turn on the Kaleidoscope NTP module

This is still gated by the NTP modules flag and the
server side KS gating but we can turn it on so
people can test it easier.

BUG=1121360

Change-Id: I20736d9e8ebe594d03d510749eb9a2b5effaddab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401729
Commit-Queue: Becca Hughes <beccahughes@chromium.org>
Reviewed-by: default avatarTommy Steimel <steimel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805978}
parent 049a4d0d
......@@ -50,6 +50,8 @@ class KaleidoscopeServiceTest : public ChromeRenderViewHostTestHarness {
GetService()->test_url_loader_factory_for_fetcher_ =
base::MakeRefCounted<::network::WeakWrapperSharedURLLoaderFactory>(
&url_loader_factory_);
feature_list_.InitWithFeatures({}, {media::kKaleidoscopeModuleCacheOnly});
}
::network::TestURLLoaderFactory* url_loader_factory() {
......@@ -109,6 +111,8 @@ class KaleidoscopeServiceTest : public ChromeRenderViewHostTestHarness {
}
::network::TestURLLoaderFactory url_loader_factory_;
base::test::ScopedFeatureList feature_list_;
};
TEST_F(KaleidoscopeServiceTest, Success) {
......
......@@ -777,10 +777,10 @@ const base::Feature kKaleidoscopeForceShowFirstRunExperience{
base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kKaleidoscopeModule{"KaleidoscopeModule",
base::FEATURE_DISABLED_BY_DEFAULT};
base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kKaleidoscopeModuleCacheOnly{
"KaleidoscopeModuleCacheOnly", base::FEATURE_DISABLED_BY_DEFAULT};
"KaleidoscopeModuleCacheOnly", base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kUseFakeDeviceForMediaStream{
"use-fake-device-for-media-stream", base::FEATURE_DISABLED_BY_DEFAULT};
......
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