| // Copyright 2022 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CHROME_BROWSER_APPS_APP_PRELOAD_SERVICE_ALMANAC_API_UTIL_H_ |
| #define CHROME_BROWSER_APPS_APP_PRELOAD_SERVICE_ALMANAC_API_UTIL_H_ |
| |
| #include <string> |
| |
| namespace apps { |
| |
| // Returns the base URL (scheme, host and port) for the ChromeOS |
| // Almanac API. This can be overridden with the command-line switch |
| // --almanac-api-url. |
| std::string GetAlmanacApiUrl(); |
| |
| } // namespace apps |
| |
| #endif // CHROME_BROWSER_APPS_APP_PRELOAD_SERVICE_ALMANAC_API_UTIL_H_ |