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

Unified Diff: ash/system/chromeos/network/tray_vpn.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: Modified CL to provide TrayItems and Tray*Views with parent pointers instead. 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/chromeos/network/tray_vpn.h
diff --git a/ash/system/chromeos/network/tray_vpn.h b/ash/system/chromeos/network/tray_vpn.h
index 1e675d535769dea677c4738cc195cca1603c6fe4..3a250b3154da931db9581d6da25af1a19a9f225e 100644
--- a/ash/system/chromeos/network/tray_vpn.h
+++ b/ash/system/chromeos/network/tray_vpn.h
@@ -10,6 +10,9 @@
#include "base/memory/scoped_ptr.h"
namespace ash {
+
+class SystemTray;
+
namespace internal {
namespace tray {
@@ -21,7 +24,7 @@ class VpnDetailedView;
class TrayVPN : public SystemTrayItem,
public NetworkObserver {
public:
- TrayVPN();
+ explicit TrayVPN(SystemTray* system_tray);
virtual ~TrayVPN();
// Overridden from SystemTrayItem.

Powered by Google App Engine
This is Rietveld 408576698