Move Webstore URL concepts to //extensions and out
[chromium-blink-merge.git] / chrome / browser / ui / app_list / scoped_keep_alive.h
blob89ff947555237dab11f8e907cecc8e7d0eab7001
1 // Copyright 2014 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_SCOPED_KEEP_ALIVE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SCOPED_KEEP_ALIVE_H_
8 #include "base/macros.h"
10 // A class that can be put in a scoped_ptr to represent a "keep alive" resource.
11 class ScopedKeepAlive {
12 public:
13 explicit ScopedKeepAlive();
14 ~ScopedKeepAlive();
16 private:
17 DISALLOW_COPY_AND_ASSIGN(ScopedKeepAlive);
20 #endif // CHROME_BROWSER_UI_APP_LIST_SCOPED_KEEP_ALIVE_H_