| Index: chrome/browser/chromeos/eol_notification.cc
|
| diff --git a/chrome/browser/chromeos/eol_notification.cc b/chrome/browser/chromeos/eol_notification.cc
|
| index c9da0b449e35fb98ed15ab0f0fc6bb537018751c..78a0efd8054aa684e8517f6cd10571554eb01f69 100644
|
| --- a/chrome/browser/chromeos/eol_notification.cc
|
| +++ b/chrome/browser/chromeos/eol_notification.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/chromeos/eol_notification.h"
|
|
|
| +#include "chrome/app/vector_icons/vector_icons.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/notifications/notification.h"
|
| #include "chrome/browser/notifications/notification_ui_manager.h"
|
| @@ -18,7 +19,7 @@
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/gfx/color_palette.h"
|
| #include "ui/gfx/paint_vector_icon.h"
|
| -#include "ui/gfx/vector_icons_public.h"
|
| +#include "ui/vector_icons/vector_icons.h"
|
|
|
| using message_center::MessageCenter;
|
|
|
| @@ -139,12 +140,12 @@ void EolNotification::OnEolStatus(update_engine::EndOfLifeStatus status) {
|
| void EolNotification::Update() {
|
| message_center::ButtonInfo learn_more(
|
| l10n_util::GetStringUTF16(IDS_EOL_MORE_INFO_BUTTON));
|
| - learn_more.icon = gfx::Image(
|
| - CreateVectorIcon(gfx::VectorIconId::INFO_OUTLINE, kButtonIconColor));
|
| + learn_more.icon =
|
| + gfx::Image(CreateVectorIcon(ui::kInfoOutlineIcon, kButtonIconColor));
|
| message_center::ButtonInfo dismiss(
|
| l10n_util::GetStringUTF16(IDS_EOL_DISMISS_BUTTON));
|
| - dismiss.icon = gfx::Image(
|
| - CreateVectorIcon(gfx::VectorIconId::NOTIFICATIONS_OFF, kButtonIconColor));
|
| + dismiss.icon =
|
| + gfx::Image(CreateVectorIcon(ui::kNotificationsOffIcon, kButtonIconColor));
|
|
|
| message_center::RichNotificationData data;
|
| data.buttons.push_back(learn_more);
|
| @@ -154,8 +155,7 @@ void EolNotification::Update() {
|
| message_center::NOTIFICATION_TYPE_SIMPLE,
|
| l10n_util::GetStringUTF16(IDS_EOL_NOTIFICATION_TITLE),
|
| l10n_util::GetStringUTF16(IDS_EOL_NOTIFICATION_EOL),
|
| - gfx::Image(
|
| - CreateVectorIcon(gfx::VectorIconId::EOL, kNotificationIconColor)),
|
| + gfx::Image(CreateVectorIcon(kEolIcon, kNotificationIconColor)),
|
| message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT,
|
| kEolNotificationId),
|
| base::string16(), // display_source
|
|
|