Notifications: Use base::Feature to switch MD notifications on/off.

- Removes command line flag.
- Adds a base::Feature switch to control it.

(for trivial header file changes)

Bug: 768300
TBR: [email protected], [email protected], [email protected], [email protected], [email protected]
Change-Id: I79e97b4eed9e8493e0b49571d7785f98b99a1c2c
Reviewed-on: https://chromium-review.googlesource.com/906529
Reviewed-by: Luis Hector Chavez <[email protected]>
Reviewed-by: David Trainor <[email protected]>
Reviewed-by: Dan Erat <[email protected]>
Reviewed-by: Sean Kau <[email protected]>
Reviewed-by: Peter Beverloo <[email protected]>
Reviewed-by: Yoshiki Iguchi <[email protected]>
Commit-Queue: Finnur Thorarinsson <[email protected]>
Cr-Commit-Position: refs/heads/master@{#536855}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1161a64a7..445efe1 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -128,7 +128,7 @@
 #if defined(OS_ANDROID)
 #include "chrome/browser/android/chrome_feature_list.h"
 #else  // OS_ANDROID
-#include "ui/message_center/public/cpp/message_center_switches.h"
+#include "ui/message_center/public/cpp/features.h"
 #endif  // OS_ANDROID
 
 #if defined(OS_CHROMEOS)
@@ -1974,10 +1974,7 @@
     {"enable-message-center-new-style-notification",
      flag_descriptions::kMessageCenterNewStyleNotificationName,
      flag_descriptions::kMessageCenterNewStyleNotificationDescription,
-     kOsDesktop,
-     ENABLE_DISABLE_VALUE_TYPE(
-         message_center::switches::kEnableMessageCenterNewStyleNotification,
-         message_center::switches::kDisableMessageCenterNewStyleNotification)},
+     kOsDesktop, FEATURE_VALUE_TYPE(message_center::kNewStyleNotifications)},
     {"enable-policy-tool", flag_descriptions::kEnablePolicyToolName,
      flag_descriptions::kEnablePolicyToolDescription, kOsDesktop,
      FEATURE_VALUE_TYPE(features::kPolicyTool)},