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

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

Issue 379333005: Allow AppSearchProvider to provide recommendations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: const Created 6 years, 5 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/app_result.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/app_result.h
diff --git a/chrome/browser/ui/app_list/search/app_result.h b/chrome/browser/ui/app_list/search/app_result.h
index 2b397394b39fd242a3a6d6bb732711d81cdc7ca1..aebf662f31f3598b1b5ea4d58dfd47405f7bcb0d 100644
--- a/chrome/browser/ui/app_list/search/app_result.h
+++ b/chrome/browser/ui/app_list/search/app_result.h
@@ -18,6 +18,10 @@ class AppListControllerDelegate;
class ExtensionEnableFlow;
class Profile;
+namespace base {
+class Time;
+}
+
namespace extensions {
class ExtensionRegistry;
}
@@ -42,6 +46,9 @@ class AppResult : public ChromeSearchResult,
void UpdateFromMatch(const TokenizedString& title,
const TokenizedStringMatch& match);
+ void UpdateFromLastLaunched(const base::Time& current_time,
+ const base::Time& last_launched);
+
// ChromeSearchResult overides:
virtual void Open(int event_flags) OVERRIDE;
virtual void InvokeAction(int action_index, int event_flags) OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/search/app_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698