| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_NOTIFICATION_CON
TROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_NOTIFICATION_CON
TROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_NOTIFICATION_CON
TROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_NOTIFICATION_CON
TROLLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
| 10 #include "chrome/browser/notifications/notification_delegate.h" | 10 #include "chrome/browser/notifications/notification_delegate.h" |
| 11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
| 12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
| 13 | 13 |
| 14 class Profile; | 14 class Profile; |
| 15 class NetworkState; | |
| 16 class Notification; | 15 class Notification; |
| 17 | 16 |
| 18 namespace chromeos { | 17 namespace chromeos { |
| 19 | 18 |
| 20 // Quick Unlock feature notification controller is responsible for managing the | 19 // Quick Unlock feature notification controller is responsible for managing the |
| 21 // new feature notification displayed to the user. | 20 // new feature notification displayed to the user. |
| 22 class QuickUnlockNotificationController : public NotificationDelegate, | 21 class QuickUnlockNotificationController : public NotificationDelegate, |
| 23 public content::NotificationObserver { | 22 public content::NotificationObserver { |
| 24 public: | 23 public: |
| 25 explicit QuickUnlockNotificationController(Profile* profile); | 24 explicit QuickUnlockNotificationController(Profile* profile); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 46 | 45 |
| 47 Profile* profile_; | 46 Profile* profile_; |
| 48 content::NotificationRegistrar registrar_; | 47 content::NotificationRegistrar registrar_; |
| 49 | 48 |
| 50 DISALLOW_COPY_AND_ASSIGN(QuickUnlockNotificationController); | 49 DISALLOW_COPY_AND_ASSIGN(QuickUnlockNotificationController); |
| 51 }; | 50 }; |
| 52 | 51 |
| 53 } // namespace chromeos | 52 } // namespace chromeos |
| 54 | 53 |
| 55 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_NOTIFICATION_
CONTROLLER_H_ | 54 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_NOTIFICATION_
CONTROLLER_H_ |
| OLD | NEW |