1 // Copyright 2013 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.
5 #ifndef CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_KEEP_ALIVE_SERVICE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_KEEP_ALIVE_SERVICE_H_
8 #include "base/compiler_specific.h"
9 #include "chrome/browser/ui/app_list/keep_alive_service.h"
11 class FakeKeepAliveService : public KeepAliveService {
13 FakeKeepAliveService();
15 bool is_keeping_alive() const { return is_keeping_alive_; }
17 // KeepAliveService overrides.
18 virtual void EnsureKeepAlive() OVERRIDE;
19 virtual void FreeKeepAlive() OVERRIDE;
22 bool is_keeping_alive_;
25 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_KEEP_ALIVE_SERVICE_H_