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

Unified Diff: ash/system/drive/tray_drive.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/drive/tray_drive.h
diff --git a/ash/system/drive/tray_drive.h b/ash/system/drive/tray_drive.h
index b5056ffc23e3713cd6bfe9e19c515103ae5407bd..cea52f9decad974c79be9684c81bb7259bce6556 100644
--- a/ash/system/drive/tray_drive.h
+++ b/ash/system/drive/tray_drive.h
@@ -13,7 +13,6 @@ class Label;
}
namespace ash {
-
namespace internal {
namespace tray {
@@ -25,7 +24,7 @@ class DriveDetailedView;
class TrayDrive : public TrayImageItem,
public DriveObserver {
public:
- TrayDrive();
+ explicit TrayDrive(SystemTray* system_tray);
virtual ~TrayDrive();
private:

Powered by Google App Engine
This is Rietveld 408576698