From c855c882c49612c50189126776d80eb1e27c55aa Mon Sep 17 00:00:00 2001 From: hai007 Date: Wed, 25 Mar 2026 13:09:39 -0700 Subject: [PATCH] absl::StatusOr is banned in Chromium https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md#statusor-banned PiperOrigin-RevId: 889397318 --- internal/platform/implementation/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/platform/implementation/platform.h b/internal/platform/implementation/platform.h index 6c923033..8cce972e 100644 --- a/internal/platform/implementation/platform.h +++ b/internal/platform/implementation/platform.h @@ -155,7 +155,6 @@ class ImplementationPlatform { static std::unique_ptr CreatePreferencesManager(absl::string_view path); static std::unique_ptr CreateDeviceInfo(); -#endif // Gets HTTP response from remote server. // @@ -165,6 +164,7 @@ class ImplementationPlatform { // return WebResponse if HTTP status code between 200 and 300. // other cases will return absl Status in error. static absl::StatusOr SendRequest(const WebRequest& request); +#endif }; } // namespace api