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

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: 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
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 7771433e23931f5ba4a13a8a7e702ffa6288ec14..e551dda1ebfec2833a4cd051e1b038a7754dbd9e 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,8 @@ class AppResult : public ChromeSearchResult,
void UpdateFromMatch(const TokenizedString& title,
const TokenizedStringMatch& match);
+ void UpdateFromLastLaunched(const base::Time& last_launched);
+
// ChromeSearchResult overides:
virtual void Open(int event_flags) OVERRIDE;
virtual void InvokeAction(int action_index, int event_flags) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698