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

Unified Diff: chrome/browser/ui/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: 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/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/app_list/keep_alive_service_impl.h
similarity index 67%
rename from chrome/browser/ui/views/app_list/keep_alive_service_impl.h
rename to chrome/browser/ui/app_list/keep_alive_service_impl.h
index c8748171ada20f69f8483be41bed81e4e2e760a0..1d67e7efbdf19acd93d47147e43decd36104c198 100644
--- a/chrome/browser/ui/views/app_list/keep_alive_service_impl.h
+++ b/chrome/browser/ui/app_list/keep_alive_service_impl.h
@@ -2,11 +2,11 @@
// 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_
+#ifndef CHROME_BROWSER_UI_APP_LIST_KEEP_ALIVE_SERVICE_IMPL_H_
+#define CHROME_BROWSER_UI_APP_LIST_KEEP_ALIVE_SERVICE_IMPL_H_
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/ui/views/app_list/keep_alive_service.h"
+#include "chrome/browser/ui/app_list/keep_alive_service.h"
class ScopedKeepAlive {
public:
@@ -23,8 +23,8 @@ class KeepAliveServiceImpl : public KeepAliveService {
virtual ~KeepAliveServiceImpl();
// KeepAliveServiceImpl overrides.
- virtual void EnsureKeepAlive();
- virtual void FreeKeepAlive();
+ virtual void EnsureKeepAlive() OVERRIDE;
+ virtual void FreeKeepAlive() OVERRIDE;
private:
// Used to keep the browser process alive while the app list is visible.
@@ -35,4 +35,4 @@ class KeepAliveServiceImpl : public KeepAliveService {
-#endif // CHROME_BROWSER_UI_VIEWS_APP_LIST_KEEP_ALIVE_SERVICE_IMPL_H_
+#endif // CHROME_BROWSER_UI_APP_LIST_KEEP_ALIVE_SERVICE_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698