| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_EASY_UNLOCK_SHORT_LIVED_USER_CONTEXT_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_SHORT_LIVED_USER_CONTEXT_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_SHORT_LIVED_USER_CONTEXT_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_SHORT_LIVED_USER_CONTEXT_H_ |
| 7 | 7 |
| 8 #include "apps/app_lifetime_monitor.h" | 8 #include "apps/app_lifetime_monitor.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 11 | 12 |
| 12 namespace base { | 13 namespace base { |
| 13 class TaskRunner; | 14 class TaskRunner; |
| 14 } | 15 } |
| 15 | 16 |
| 16 namespace chromeos { | 17 namespace chromeos { |
| 17 | 18 |
| 18 class UserContext; | 19 class UserContext; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 43 apps::AppLifetimeMonitor* app_lifetime_monitor_; | 44 apps::AppLifetimeMonitor* app_lifetime_monitor_; |
| 44 | 45 |
| 45 base::WeakPtrFactory<ShortLivedUserContext> weak_ptr_factory_; | 46 base::WeakPtrFactory<ShortLivedUserContext> weak_ptr_factory_; |
| 46 | 47 |
| 47 DISALLOW_COPY_AND_ASSIGN(ShortLivedUserContext); | 48 DISALLOW_COPY_AND_ASSIGN(ShortLivedUserContext); |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 } // namespace chromeos | 51 } // namespace chromeos |
| 51 | 52 |
| 52 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_SHORT_LIVED_USER_CONTEXT_H_ | 53 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EASY_UNLOCK_SHORT_LIVED_USER_CONTEXT_H_ |
| OLD | NEW |