| // Copyright 2025 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_UI_COMMERCE_UI_UTILS_H_ |
| #define CHROME_BROWSER_UI_COMMERCE_UI_UTILS_H_ |
| // Opens a new Compare tab with |urls| at |index| in the tab strip model. |
| void OpenProductSpecsTabForUrls(const std::vector<GURL>& urls, |
| TabStripModel* tab_strip_model, |
| // Shows the "added to set" confirmation toast if the toast feature is enabled. |
| void ShowProductSpecsConfirmationToast(std::u16string set_name, |
| #endif // CHROME_BROWSER_UI_COMMERCE_UI_UTILS_H_ |