Index: chrome/browser/ui/app_list/scoped_keep_alive.cc |
diff --git a/chrome/browser/ui/app_list/scoped_keep_alive.cc b/chrome/browser/ui/app_list/scoped_keep_alive.cc |
deleted file mode 100644 |
index c93558a3be3a1007f3396f1bb710700b0920dbea..0000000000000000000000000000000000000000 |
--- a/chrome/browser/ui/app_list/scoped_keep_alive.cc |
+++ /dev/null |
@@ -1,19 +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 "chrome/browser/ui/app_list/scoped_keep_alive.h" |
- |
-#include "chrome/browser/browser_process.h" |
-#include "chrome/browser/lifetime/application_lifetime.h" |
- |
-ScopedKeepAlive::ScopedKeepAlive() { |
- // Allow ScopedKeepAlive to be used in unit tests. |
- if (g_browser_process) |
- chrome::IncrementKeepAliveCount(); |
-} |
- |
-ScopedKeepAlive::~ScopedKeepAlive() { |
- if (g_browser_process) |
- chrome::DecrementKeepAliveCount(); |
-} |