// Copyright 2020 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_WEB_APPLICATIONS_WEB_APP_ID_CONSTANTS_H_ #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_ID_CONSTANTS_H_ namespace web_app { // The URLs used to generate the app IDs MUST match the start_url field of the // manifest served by the PWA. // Please maintain the alphabetical order when adding new app IDs. // Generated as: web_app::GenerateAppId(/*manifest_id=*/"/", GURL( // "https://new.express.adobe.com/")) inline constexpr char kAdobeExpressAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://calculator.apps.chrome/")) inline constexpr char kCalculatorAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://camera-app/views/main.html")) inline constexpr char kCameraAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://canvas.apps.chrome/")) inline constexpr char kCanvasAppId[] = …; // Generated as: web_app::GenerateAppIdFromManifestId( // web_app::GenerateManifestIdFromStartUrlOnly(GURL( // "https://gemini.google.com/"))); inline constexpr char kContainerAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome-untrusted://crosh/")) inline constexpr char kCroshAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://cursive.apps.chrome/")) inline constexpr char kCursiveAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, // GURL("chrome://diagnostics/")) inline constexpr char kDiagnosticsAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, // GURL("chrome://accessory-update/")) inline constexpr char kFirmwareUpdateAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://mail.google.com/mail/?usp=installed_webapp")) inline constexpr char kGmailAppId[] = …; inline constexpr char kGmailManifestId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://calendar.google.com/calendar/r")) inline constexpr char kGoogleCalendarAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://mail.google.com/chat/")) inline constexpr char kGoogleChatAppId[] = …; // Generated as: web_app::GenerateAppIdFromManifestId(webapps::ManifestId( // "https://classroom.google.com/?lfhs=2")) inline constexpr char kGoogleClassroomAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://docs.google.com/document/?usp=installed_webapp")) inline constexpr char kGoogleDocsAppId[] = …; inline constexpr char kGoogleDocsManifestId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://drive.google.com/?lfhs=2")) inline constexpr char kGoogleDriveAppId[] = …; inline constexpr char kGoogleDriveManifestId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://keep.google.com/?usp=installed_webapp")) inline constexpr char kGoogleKeepAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://www.google.com/maps?force=tt&source=ttpwa")) inline constexpr char kGoogleMapsAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://meet.google.com/landing?lfhs=2")) inline constexpr char kGoogleMeetAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://play.google.com/store/movies?usp=installed_webapp")) inline constexpr char kGoogleMoviesAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://news.google.com/?lfhs=2")) inline constexpr char kGoogleNewsAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://docs.google.com/spreadsheets/?usp=installed_webapp")) inline constexpr char kGoogleSheetsAppId[] = …; inline constexpr char kGoogleSheetsManifestId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://docs.google.com/presentation/?usp=installed_webapp")) inline constexpr char kGoogleSlidesAppId[] = …; inline constexpr char kGoogleSlidesManifestId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://help-app/")) inline constexpr char kHelpAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://discover.apps.chrome/")) inline constexpr char kMallAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://media-app/")) inline constexpr char kMediaAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://messages.google.com/web/")) inline constexpr char kMessagesAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://messages-web.sandbox.google.com/web/")) inline constexpr char kMessagesDogfoodDeprecatedAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://www.microsoft365.com/?from=Homescreen")) inline constexpr char kMicrosoft365AppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://test-system-app/pwa.html")) inline constexpr char kMockSystemAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://play.geforcenow.com/mall/")) inline constexpr char kNvidiaGeForceNowAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://os-feedback/")) inline constexpr char kOsFeedbackAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://os-settings/")) inline constexpr char kOsSettingsAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://personalization/")) inline constexpr char kPersonalizationAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://books.google.com/ebooks/app")) inline constexpr char kPlayBooksAppId[] = …; // Generated as:web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://print-management/")) inline constexpr char kPrintManagementAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, // GURL("chrome://sanitize/")) inline constexpr char kSanitizeAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, // GURL("chrome://scanning/")) inline constexpr char kScanningAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://settings/")) inline constexpr char kSettingsAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://shortcut-customization")) inline constexpr char kShortcutCustomizationAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://shimless-rma/")) inline constexpr char kShimlessRMAAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://www.showtime.com/")) inline constexpr char kShowtimeAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://www.youtube.com/?feature=ytca")) inline constexpr char kYoutubeAppId[] = …; inline constexpr char kYoutubeManifestId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://music.youtube.com/?source=pwa")) inline constexpr char kYoutubeMusicAppId[] = …; // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "https://tv.youtube.com/")) inline constexpr char kYoutubeTVAppId[] = …; #if !defined(OFFICIAL_BUILD) // Generated as: web_app::GenerateAppId(/*manifest_id=*/std::nullopt, GURL( // "chrome://sample-system-web-app")) inline constexpr char kSampleSystemWebAppId[] = …; #endif // !defined(OFFICIAL_BUILD) // Generated as: web_app::GenerateAppId(/*manifest_id=*/"", GURL( // "chrome://password-manager/?source=pwa")) inline constexpr char kPasswordManagerAppId[] = …; } // namespace web_app #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_ID_CONSTANTS_H_