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

Unified Diff: chrome/browser/ui/app_list/search/history.h

Issue 518293002: App-list history cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fix Created 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/search/history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/search/history.h
diff --git a/chrome/browser/ui/app_list/search/history.h b/chrome/browser/ui/app_list/search/history.h
index 3e4f33487155a670e356206d0d04b4ecd37bb606..c74387dc1a461fe0b4d46845113f7ada16709986 100644
--- a/chrome/browser/ui/app_list/search/history.h
+++ b/chrome/browser/ui/app_list/search/history.h
@@ -15,10 +15,6 @@
#include "chrome/browser/ui/app_list/search/history_types.h"
#include "components/keyed_service/core/keyed_service.h"
-namespace content {
-class BrowserContext;
-}
-
namespace app_list {
class HistoryData;
@@ -36,7 +32,7 @@ class SearchHistoryTest;
// have been launched before.
class History : public KeyedService, public HistoryDataObserver {
public:
- explicit History(content::BrowserContext* context);
+ explicit History(scoped_refptr<HistoryDataStore> store);
virtual ~History();
// Returns true if the service is ready.
@@ -55,7 +51,6 @@ class History : public KeyedService, public HistoryDataObserver {
// HistoryDataObserver overrides:
virtual void OnHistoryDataLoadedFromStore() OVERRIDE;
- content::BrowserContext* browser_context_;
scoped_ptr<HistoryData> data_;
scoped_refptr<HistoryDataStore> store_;
bool data_loaded_;
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/search/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698