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

Unified Diff: ash/system/chromeos/network/tray_network.cc

Issue 12843019: Suppress error notifications and detailed view during OOBE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: ash/system/chromeos/network/tray_network.cc
diff --git a/ash/system/chromeos/network/tray_network.cc b/ash/system/chromeos/network/tray_network.cc
index 51229c51ebb3ab6a46d0d77729907d9263abd27d..90e66b196c979b37950411dbd316b17bce35fa92 100644
--- a/ash/system/chromeos/network/tray_network.cc
+++ b/ash/system/chromeos/network/tray_network.cc
@@ -506,6 +506,8 @@ void TrayNetwork::SetNetworkMessage(NetworkTrayDelegate* delegate,
const std::vector<string16>& links) {
messages_->messages()[message_type] = tray::NetworkMessages::Message(
delegate, network_type, title, message, links);
+ if (!Shell::GetInstance()->system_tray_delegate()->IsOobeCompleted())
+ return;
if (notification_)
notification_->Update();
else

Powered by Google App Engine
This is Rietveld 408576698