switches.cc 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. // Copyright 2016 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "components/search_provider_logos/switches.h"
  5. namespace search_provider_logos {
  6. namespace switches {
  7. // Overrides the URL used to fetch the current Google Doodle.
  8. // Example: https://www.google.com/async/ddljson
  9. // Testing? Try:
  10. // https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android0.json
  11. // https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android1.json
  12. // https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android2.json
  13. // https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android3.json
  14. // https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android4.json
  15. const char kGoogleDoodleUrl[] = "google-doodle-url";
  16. // Use a static URL for the logo of the default search engine.
  17. // Example: https://www.google.com/branding/logo.png
  18. const char kSearchProviderLogoURL[] = "search-provider-logo-url";
  19. // Overrides the Doodle URL to use for third-party search engines.
  20. // Testing? Try:
  21. // https://www.gstatic.com/chrome/ntp/doodle_test/third_party_simple.json
  22. // https://www.gstatic.com/chrome/ntp/doodle_test/third_party_animated.json
  23. const char kThirdPartyDoodleURL[] = "third-party-doodle-url";
  24. } // namespace switches
  25. } // namespace search_provider_logos