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

Unified Diff: chrome/common/extensions/api/launcher_search_provider.idl

Issue 1140873002: Change queryId of launcherSearchProvider API to integer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove old TODO. Created 5 years, 7 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/common/extensions/api/launcher_search_provider.idl
diff --git a/chrome/common/extensions/api/launcher_search_provider.idl b/chrome/common/extensions/api/launcher_search_provider.idl
index ff519f1852c53635f3ae5100e0b5467498459411..5f59f72900eb149004b061f731c1c4e8f592a4a6 100644
--- a/chrome/common/extensions/api/launcher_search_provider.idl
+++ b/chrome/common/extensions/api/launcher_search_provider.idl
@@ -24,19 +24,19 @@ namespace launcherSearchProvider {
// guranteed that all provided results are shown to a user. The search
// results will be sorted by relevance, with ties broken by the order of the
// results in this list (highest priority first).
- static void setSearchResults(DOMString queryId, SearchResult[] results);
+ static void setSearchResults(long queryId, SearchResult[] results);
};
interface Events {
// Called when a user typed a query. maxResult is the maximum number of
// results the extension should provide.
- static void onQueryStarted(DOMString queryId,
+ static void onQueryStarted(long queryId,
DOMString query,
long maxResult);
// Called when query of |queryId| is ended. After this call,
// setSearchResults no longer accept the results for queryId.
- static void onQueryEnded(DOMString queryId);
+ static void onQueryEnded(long queryId);
// Called when a user clicks a search result which is provided by
// setSearchResults.
« no previous file with comments | « chrome/browser/chromeos/launcher_search_provider/service.cc ('k') | ui/file_manager/externs/launcher_search_provider.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698