Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: chrome/browser/apps/scoped_keep_alive.h

Issue 557833007: Remove Increment/DecrementKeepAliveCount from AppsClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Pass ScopedKeepAlive Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_APP_LIST_SCOPED_KEEP_ALIVE_H_ 5 #ifndef CHROME_BROWSER_APPS_SCOPED_KEEP_ALIVE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SCOPED_KEEP_ALIVE_H_ 6 #define CHROME_BROWSER_APPS_SCOPED_KEEP_ALIVE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 // A class that can be put in a scoped_ptr to represent a "keep alive" resource. 10 // A class that can be put in a scoped_ptr to represent a "keep alive" resource.
11 class ScopedKeepAlive { 11 class ScopedKeepAlive {
12 public: 12 public:
13 explicit ScopedKeepAlive(); 13 explicit ScopedKeepAlive();
tapted 2014/09/24 07:12:41 nit: since you're here.. we can probably drop this
hashimoto 2014/09/24 09:03:46 Good catch. Done.
14 ~ScopedKeepAlive(); 14 ~ScopedKeepAlive();
15 15
16 private: 16 private:
17 DISALLOW_COPY_AND_ASSIGN(ScopedKeepAlive); 17 DISALLOW_COPY_AND_ASSIGN(ScopedKeepAlive);
18 }; 18 };
19 19
20 #endif // CHROME_BROWSER_UI_APP_LIST_SCOPED_KEEP_ALIVE_H_ 20 #endif // CHROME_BROWSER_APPS_SCOPED_KEEP_ALIVE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698