Index: athena/screen_lock/screen_lock_manager_base.cc |
diff --git a/athena/screen_lock/screen_lock_manager_base.cc b/athena/screen_lock/screen_lock_manager_base.cc |
deleted file mode 100644 |
index abd221b7e4a5af98d5dd4a3064a8e40a80892470..0000000000000000000000000000000000000000 |
--- a/athena/screen_lock/screen_lock_manager_base.cc |
+++ /dev/null |
@@ -1,39 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "athena/screen_lock/screen_lock_manager_base.h" |
- |
-#include "base/logging.h" |
- |
-namespace athena { |
-namespace { |
- |
-ScreenLockManager* instance = nullptr; |
- |
-} // namespace |
- |
-ScreenLockManagerBase::ScreenLockManagerBase() { |
- DCHECK(!instance); |
- instance = this; |
-} |
- |
-ScreenLockManagerBase::~ScreenLockManagerBase() { |
- DCHECK_EQ(instance, this); |
- instance = nullptr; |
-} |
- |
-// static |
-ScreenLockManager* ScreenLockManager::Get() { |
- return instance; |
-} |
- |
-// static |
-void ScreenLockManager::Shutdown() { |
- if (instance) { |
- delete instance; |
- DCHECK(!instance); |
- } |
-} |
- |
-} // namespace athena |