summaryrefslogtreecommitdiff
path: root/chromium/components/search_provider_logos/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/search_provider_logos/features.h')
-rw-r--r--chromium/components/search_provider_logos/features.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/components/search_provider_logos/features.h b/chromium/components/search_provider_logos/features.h
index 05c46e5e65c..0628b2cf870 100644
--- a/chromium/components/search_provider_logos/features.h
+++ b/chromium/components/search_provider_logos/features.h
@@ -10,8 +10,22 @@
namespace search_provider_logos {
namespace features {
+// If enabled, Google Doodles are fetched from the newer /ddljson API instead of
+// the /newtab_mobile API.
extern const base::Feature kUseDdljsonApi;
+// This parameter can be used to override the URL of the /ddljson API. Useful
+// for testing.
+extern const char kDdljsonOverrideUrlParam[];
+
+// If enabled, Doodles are fetched for third-party search engines that specify
+// a doodle_url in prepopulated_engines.json.
+extern const base::Feature kThirdPartyDoodles;
+
+// This parameter can be used to override the URL of the doodle API for
+// third-party search engines. Useful for testing.
+extern const char kThirdPartyDoodlesOverrideUrlParam[];
+
} // namespace features
} // namespace search_provider_logos