Refactor device name from c/b/sharing to components/STTS
For all sharing features in the case where the device name is not
useful we should fall back to using a common naming scheme. This CL
adopts that common naming scheme and moves it and the required helper
functions into components for cross platform access.
Bug: 1025362
Change-Id: Ibb20dc9db3a99b24f9688fd51838febab0419694
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919738
Commit-Queue: Jeffrey Cohen <[email protected]>
Reviewed-by: Sadrul Chowdhury <[email protected]>
Reviewed-by: Alex Chau <[email protected]>
Reviewed-by: Richard Knoll <[email protected]>
Reviewed-by: Colin Blundell <[email protected]>
Cr-Commit-Position: refs/heads/master@{#717208}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 8ea26d28..77f84543 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -3864,7 +3864,7 @@
{"sharing-rename-devices", flag_descriptions::kSharingRenameDevicesName,
flag_descriptions::kSharingRenameDevicesDescription, kOsAll,
- FEATURE_VALUE_TYPE(kSharingRenameDevices)},
+ FEATURE_VALUE_TYPE(send_tab_to_self::kSharingRenameDevices)},
#if defined(OS_CHROMEOS)
{"discover-app", flag_descriptions::kEnableDiscoverAppName,