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

Unified Diff: chrome/browser/ui/views/auto_keep_alive.h

Issue 1708343002: Add ScopedKeepAlive to c/b/lifetime (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove KeepAliveOrigin::TEST Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/auto_keep_alive.h
diff --git a/chrome/browser/ui/views/auto_keep_alive.h b/chrome/browser/ui/views/auto_keep_alive.h
deleted file mode 100644
index a9eee78e4b27245f60f34ef79524d4a395f4c521..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/auto_keep_alive.h
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_AUTO_KEEP_ALIVE_H_
-#define CHROME_BROWSER_UI_VIEWS_AUTO_KEEP_ALIVE_H_
-
-#include "base/macros.h"
-#include "ui/gfx/native_widget_types.h"
-
-// Class to scoped decrement keep alive count.
-class AutoKeepAlive {
- public:
- explicit AutoKeepAlive(gfx::NativeWindow window);
- ~AutoKeepAlive();
-
- private:
- bool keep_alive_available_;
-
- DISALLOW_COPY_AND_ASSIGN(AutoKeepAlive);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_AUTO_KEEP_ALIVE_H_
« no previous file with comments | « chrome/browser/ui/views/app_list/linux/app_list_service_linux.cc ('k') | chrome/browser/ui/views/auto_keep_alive.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698