message_center::Notification::CreateSystemNotification() is a function to create Chrome OS system notification. By default, the notification created by the function is given a default |display_source| "Chrome OS system". The function is only used on Chrome OS.
ui/message_center is shared among all platforms, so it is not the right place to put this function. Probably ash/public/cpp would be the best place. Also, MessageCenter::GetProductOSName() (which returns "Chrome OS" or "Chromium OS") should be removed.
There are two problems:
* CreateSystemNotification is used in many places under chrome/browser e.g. chrome/browser/chromeos.
* ash/ does not have google_chrome_strings.grd/chromium_strings.grd equivalent.
* We would need some shared strings file that gets compiled into both executables.
Comment 1 by tetsui@chromium.org
, Dec 25 2017