Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef ATHENA_SCREEN_LOCK_SCREEN_LOCK_MANAGER_BASE_H_ | |
| 6 #define ATHENA_SCREEN_LOCK_SCREEN_LOCK_MANAGER_BASE_H_ | |
| 7 | |
| 8 #include "athena/screen_lock/public/screen_lock_manager.h" | |
| 9 | |
| 10 namespace athena { | |
| 11 | |
| 12 // Base class for ScreenLockManager implementations. Its c-tors remembers | |
| 13 // instance pointer in global static variable for ScreenLockManager::Get | |
| 14 // implementation and d-tor clears that global variable. | |
| 15 class ScreenLockManagerBase : public ScreenLockManager { | |
| 16 public: | |
| 17 ScreenLockManagerBase(); | |
| 18 | |
| 19 protected: | |
| 20 virtual ~ScreenLockManagerBase(); | |
|
oshima
2014/10/16 10:52:18
nit: DISALLOW...
Dmitry Polukhin
2014/10/16 11:25:41
Done.
| |
| 21 }; | |
| 22 | |
| 23 } // namespace athena | |
| 24 | |
| 25 #endif // ATHENA_SCREEN_LOCK_SCREEN_LOCK_MANAGER_BASE_H_ | |
| OLD | NEW |