Removed affiliation from chrome and tests.
[chromium-blink-merge.git] / chrome / browser / chromeos / ui / kiosk_external_update_notification.h
blobe8e3acb3eeb051a3af201377354ce748eae2e281
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_UI_KIOSK_EXTERNAL_UPDATE_NOTIFICATION_H_
6 #define CHROME_BROWSER_CHROMEOS_UI_KIOSK_EXTERNAL_UPDATE_NOTIFICATION_H_
8 #include "base/macros.h"
9 #include "base/strings/string16.h"
11 namespace chromeos {
13 class KioskExternalUpdateNotificationView;
15 // Provides the UI showing kiosk external update status to admin.
16 class KioskExternalUpdateNotification {
17 public:
18 explicit KioskExternalUpdateNotification(const base::string16& message);
19 virtual ~KioskExternalUpdateNotification();
21 void ShowMessage(const base::string16& message);
23 private:
24 friend class KioskExternalUpdateNotificationView;
25 void Dismiss();
26 void CreateAndShowNotificationView(const base::string16& message);
28 KioskExternalUpdateNotificationView* view_; // Owned by views hierarchy.
30 DISALLOW_COPY_AND_ASSIGN(KioskExternalUpdateNotification);
33 } // namespace chromeos
35 #endif // CHROME_BROWSER_CHROMEOS_UI_KIOSK_EXTERNAL_UPDATE_NOTIFICATION_H_