Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2553)

Unified Diff: chrome/browser/chromeos/status/data_promo_notification.cc

Issue 2435903002: Move tray code from ui/chromeos/network/ (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/status/data_promo_notification.cc
diff --git a/chrome/browser/chromeos/status/data_promo_notification.cc b/chrome/browser/chromeos/status/data_promo_notification.cc
index ad4727aafcaa82207cd97e697ed5a90e925676cc..633b8c321feaf5a300adbeb80f2cb92ce6167fa4 100644
--- a/chrome/browser/chromeos/status/data_promo_notification.cc
+++ b/chrome/browser/chromeos/status/data_promo_notification.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/chromeos/status/data_promo_notification.h"
#include "ash/common/system/system_notifier.h"
+#include "ash/resources/grit/ash_resources.h"
#include "base/command_line.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
@@ -36,7 +37,6 @@
#include "third_party/cros_system_api/dbus/service_constants.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
-#include "ui/chromeos/resources/grit/ui_chromeos_resources.h"
#include "ui/message_center/message_center.h"
#include "ui/message_center/notification.h"
#include "ui/views/view.h"
@@ -261,9 +261,9 @@ void DataPromoNotification::ShowOptionalMobileDataPromoNotification() {
int icon_id;
if (default_network->network_technology() == shill::kNetworkTechnologyLte)
- icon_id = IDR_AURA_UBER_TRAY_NOTIFICATION_LTE;
+ icon_id = IDR_AURA_UBER_TRAY_NETWORK_NOTIFICATION_LTE;
else
- icon_id = IDR_AURA_UBER_TRAY_NOTIFICATION_3G;
+ icon_id = IDR_AURA_UBER_TRAY_NETWORK_NOTIFICATION_3G;
const gfx::Image& icon =
ui::ResourceBundle::GetSharedInstance().GetImageNamed(icon_id);
@@ -302,7 +302,7 @@ bool DataPromoNotification::ShowDataSaverNotification() {
base::string16 message = l10n_util::GetStringUTF16(IDS_3G_DATASAVER_MESSAGE);
const gfx::Image& icon =
ui::ResourceBundle::GetSharedInstance().GetImageNamed(
- IDR_AURA_UBER_TRAY_NOTIFICATION_DATASAVER);
+ IDR_AURA_UBER_TRAY_NETWORK_NOTIFICATION_DATASAVER);
message_center::MessageCenter::Get()->AddNotification(
message_center::Notification::CreateSystemNotification(
« no previous file with comments | « chrome/browser/chromeos/net/network_state_notifier.cc ('k') | chrome/browser/chromeos/status/network_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698