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

Unified Diff: ash/system/tray_update.h

Issue 2059383002: mash: Move TrayUpdate to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ashconstants
Patch Set: rebase Created 4 years, 6 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
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray_update.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray_update.h
diff --git a/ash/system/tray_update.h b/ash/system/tray_update.h
deleted file mode 100644
index 4340bebba77d67b100b4a05866f73aae75c4a33e..0000000000000000000000000000000000000000
--- a/ash/system/tray_update.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_SYSTEM_TRAY_UPDATE_H_
-#define ASH_SYSTEM_TRAY_UPDATE_H_
-
-#include "ash/ash_export.h"
-#include "ash/common/system/tray/tray_image_item.h"
-#include "ash/common/system/update/update_observer.h"
-#include "base/macros.h"
-
-namespace views {
-class View;
-}
-
-namespace ash {
-
-// The system update tray item. Exported for test.
-class ASH_EXPORT TrayUpdate : public TrayImageItem, public UpdateObserver {
- public:
- explicit TrayUpdate(SystemTray* system_tray);
- ~TrayUpdate() override;
-
- private:
- // Overridden from TrayImageItem.
- bool GetInitialVisibility() override;
- views::View* CreateDefaultView(LoginStatus status) override;
-
- // Overridden from UpdateObserver.
- void OnUpdateRecommended(const UpdateInfo& info) override;
-
- DISALLOW_COPY_AND_ASSIGN(TrayUpdate);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_TRAY_UPDATE_H_
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698