| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_APP_LIST_KEEP_ALIVE_SERVICE_H_ | |
| 6 #define CHROME_BROWSER_UI_VIEWS_APP_LIST_KEEP_ALIVE_SERVICE_H_ | |
| 7 | |
| 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; | |
| 15 }; | |
| 16 | |
| 17 #endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_KEEP_ALIVE_SERVICE_H_ | |
| OLD | NEW |