Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / app_list / keep_alive_service.h
blobd424f64e251b56a6bd0b00c4a19134cd5d465a39
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_KEEP_ALIVE_SERVICE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_KEEP_ALIVE_SERVICE_H_
8 // An interface to manipulate browser keepalive. Subclasses should ensure that
9 // keepalive is cleared when the object is destructed.
10 class KeepAliveService {
11 public:
12 virtual ~KeepAliveService() {}
13 virtual void EnsureKeepAlive() = 0;
14 virtual void FreeKeepAlive() = 0;
17 #endif // CHROME_BROWSER_UI_APP_LIST_KEEP_ALIVE_SERVICE_H_