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

Side by Side Diff: ash/system/chromeos/supervised/tray_supervised_user.cc

Issue 410333005: Remove the drive status from the ash try. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build. Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/system/chromeos/supervised/tray_supervised_user.h" 5 #include "ash/system/chromeos/supervised/tray_supervised_user.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/system/chromeos/label_tray_view.h" 8 #include "ash/system/chromeos/label_tray_view.h"
9 #include "ash/system/system_notifier.h" 9 #include "ash/system/system_notifier.h"
10 #include "ash/system/tray/system_tray_delegate.h"
10 #include "ash/system/tray/system_tray_notifier.h" 11 #include "ash/system/tray/system_tray_notifier.h"
11 #include "ash/system/tray/tray_notification_view.h" 12 #include "ash/system/tray/tray_notification_view.h"
12 #include "ash/system/user/login_status.h" 13 #include "ash/system/user/login_status.h"
13 #include "base/callback.h" 14 #include "base/callback.h"
14 #include "base/logging.h" 15 #include "base/logging.h"
15 #include "grit/ash_resources.h" 16 #include "grit/ash_resources.h"
16 #include "ui/base/resource/resource_bundle.h" 17 #include "ui/base/resource/resource_bundle.h"
17 #include "ui/message_center/message_center.h" 18 #include "ui/message_center/message_center.h"
18 #include "ui/message_center/notification.h" 19 #include "ui/message_center/notification.h"
19 #include "ui/message_center/notification_delegate.h" 20 #include "ui/message_center/notification_delegate.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 kNotificationId, 84 kNotificationId,
84 base::string16() /* no title */, 85 base::string16() /* no title */,
85 new_message, 86 new_message,
86 bundle.GetImageNamed(IDR_AURA_UBER_TRAY_MANAGED_USER), 87 bundle.GetImageNamed(IDR_AURA_UBER_TRAY_MANAGED_USER),
87 system_notifier::kNotifierSupervisedUser, 88 system_notifier::kNotifierSupervisedUser,
88 base::Closure() /* null callback */)); 89 base::Closure() /* null callback */));
89 message_center::MessageCenter::Get()->AddNotification(notification.Pass()); 90 message_center::MessageCenter::Get()->AddNotification(notification.Pass());
90 } 91 }
91 92
92 } // namespace ash 93 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/chromeos/enterprise/tray_enterprise.cc ('k') | ash/system/chromeos/tray_caps_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698