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

Unified Diff: ash/system/tray_update.h

Issue 11415014: Stop using shell::GetInstance()->system_tray() in system tray items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary forward declarations. Renamed |tray| to |owner|. Created 8 years, 1 month 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/tray_update.h
diff --git a/ash/system/tray_update.h b/ash/system/tray_update.h
index 3937c3c18f3ee354b3785845eb137839b790390f..123cde19f3b32d1305ca319994181b4c84c76d4c 100644
--- a/ash/system/tray_update.h
+++ b/ash/system/tray_update.h
@@ -14,7 +14,6 @@ class View;
}
namespace ash {
-
namespace internal {
namespace tray {
@@ -24,7 +23,7 @@ class UpdateNagger;
class TrayUpdate : public TrayImageItem,
public UpdateObserver {
public:
- TrayUpdate();
+ explicit TrayUpdate(SystemTray* system_tray);
virtual ~TrayUpdate();
private:

Powered by Google App Engine
This is Rietveld 408576698