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

Unified Diff: chrome/browser/ui/views/app_list/keep_alive_service_impl.h

Issue 24707002: Add unit tests for AppListServiceImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: un-const an iterator Created 7 years, 3 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/app_list/keep_alive_service_impl.h
diff --git a/chrome/browser/ui/views/app_list/keep_alive_service_impl.h b/chrome/browser/ui/views/app_list/keep_alive_service_impl.h
deleted file mode 100644
index 153cc341bbe4d57b992d0790cee0437dc48ac7cc..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/app_list/keep_alive_service_impl.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 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_APP_LIST_KEEP_ALIVE_SERVICE_IMPL_H_
-#define CHROME_BROWSER_UI_VIEWS_APP_LIST_KEEP_ALIVE_SERVICE_IMPL_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/ui/views/app_list/keep_alive_service.h"
-
-class ScopedKeepAlive {
- public:
- ScopedKeepAlive();
- ~ScopedKeepAlive();
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ScopedKeepAlive);
-};
-
-class KeepAliveServiceImpl : public KeepAliveService {
- public:
- KeepAliveServiceImpl();
- virtual ~KeepAliveServiceImpl();
-
- // KeepAliveServiceImpl overrides.
- virtual void EnsureKeepAlive() OVERRIDE;
- virtual void FreeKeepAlive() OVERRIDE;
-
- private:
- // Used to keep the browser process alive while the app list is visible.
- scoped_ptr<ScopedKeepAlive> keep_alive_;
-
- DISALLOW_COPY_AND_ASSIGN(KeepAliveServiceImpl);
-};
-
-
-
-#endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_KEEP_ALIVE_SERVICE_IMPL_H_
« no previous file with comments | « chrome/browser/ui/views/app_list/keep_alive_service.h ('k') | chrome/browser/ui/views/app_list/keep_alive_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698