Index: chrome/browser/ui/app_list/test/fake_keep_alive_service.cc |
diff --git a/chrome/browser/ui/app_list/test/fake_keep_alive_service.cc b/chrome/browser/ui/app_list/test/fake_keep_alive_service.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3f57d6a2bab8b0aedc855d327753109c8d21e51d |
--- /dev/null |
+++ b/chrome/browser/ui/app_list/test/fake_keep_alive_service.cc |
@@ -0,0 +1,17 @@ |
+// Copyright 2013 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/test/fake_keep_alive_service.h" |
+ |
+FakeKeepAliveService::FakeKeepAliveService() |
+ : is_keeping_alive_(false) { |
+} |
+ |
+void FakeKeepAliveService::EnsureKeepAlive() { |
+ is_keeping_alive_ = true; |
+} |
+ |
+void FakeKeepAliveService::FreeKeepAlive() { |
+ is_keeping_alive_ = false; |
+} |