Some refactoring in file browser notifications:

- remove GDATA notification types (they're not used anymore).
- when creating notification id for DEVICE_FAIL notification, don't append count
of fail notifications for the failed device (this was used with the old system
notifications api to avoid removing and adding a notification with the same id
in short time span; there were some problems with updating notification message)
- make ShowNotificationWithMessage private
- instead of using switch/case when determining notification parameters for
type, get them from a global (file scoped) array
- make notification id prefixes more descriptive

- make sure there are not multiple DEVICE_HARD_UNPLUG messages for the same
(multipartition) device

TEST=existing
BUG=163252

Review URL: https://chromiumcodereview.appspot.com/11418123

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170318 0039d316-1c4b-4281-b951-d872f2087c98
5 files changed