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 #include "base/macros.h" |
| 10 |
| 11 namespace athena { |
| 12 |
| 13 // Base class for ScreenLockManager implementations. Its c-tors remembers |
| 14 // instance pointer in global static variable for ScreenLockManager::Get |
| 15 // implementation and d-tor clears that global variable. |
| 16 class ScreenLockManagerBase : public ScreenLockManager { |
| 17 public: |
| 18 ScreenLockManagerBase(); |
| 19 |
| 20 protected: |
| 21 virtual ~ScreenLockManagerBase(); |
| 22 |
| 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(ScreenLockManagerBase); |
| 25 }; |
| 26 |
| 27 } // namespace athena |
| 28 |
| 29 #endif // ATHENA_SCREEN_LOCK_SCREEN_LOCK_MANAGER_BASE_H_ |
OLD | NEW |