[AndroidSms] Allow custom domains to be configured at runtime.
This allows users to configure a custom domain through the UI at
chrome://flags allowing for easier development and testing. For
simplicity, this also updates the previous command line flags to use
custom app/install urls to a new flag: --custom-android-messages-domain
which accepts a single domain and appends the correct suffixes in code.
Bug: 1055472
Change-Id: Ie3b1a69c258642fbe7e7f579cbf7f0b221d96f95
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2154101
Commit-Queue: Jon Mann <[email protected]>
Reviewed-by: Elly Fong-Jones <[email protected]>
Reviewed-by: Azeem Arshad <[email protected]>
Cr-Commit-Position: refs/heads/master@{#760229}
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index 55eeee71..28f00a0 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -93,6 +93,9 @@
extern const char kUseMessagesStagingUrlName[];
extern const char kUseMessagesStagingUrlDescription[];
+extern const char kUseCustomMessagesDomainName[];
+extern const char kUseCustomMessagesDomainDescription[];
+
extern const char kAndroidPictureInPictureAPIName[];
extern const char kAndroidPictureInPictureAPIDescription[];