From af1ed79a98694c4353c4234b2b6f994532bf8cb6 Mon Sep 17 00:00:00 2001 From: yawano Date: Wed, 1 Apr 2015 22:48:19 -0700 Subject: Initial commit for chrome.launcherSearchProvider API. This CL includes - Define API idl. - Add permission. - Add flag. - Implement onQueryStarted event. Permission is restricted to trunk and FileManager during the development. After the implementation is completed, it will be relaxed to white-listed on stable and public on dev. BUG=440649 Review URL: https://codereview.chromium.org/1011353003 Cr-Commit-Position: refs/heads/master@{#323434} --- extensions/browser/extension_function_histogram_value.h | 1 + extensions/common/permissions/api_permission.h | 1 + 2 files changed, 2 insertions(+) (limited to 'extensions') diff --git a/extensions/browser/extension_function_histogram_value.h b/extensions/browser/extension_function_histogram_value.h index a9cff51..e37b8db 100644 --- a/extensions/browser/extension_function_histogram_value.h +++ b/extensions/browser/extension_function_histogram_value.h @@ -1053,6 +1053,7 @@ enum HistogramValue { EASYUNLOCKPRIVATE_HIDEERRORBUBBLE, WEBVIEWINTERNAL_SETZOOMMODE, WEBVIEWINTERNAL_GETZOOMMODE, + LAUNCHERSEARCHPROVIDER_SETSEARCHRESULTS, // Last entry: Add new entries above and ensure to update // tools/metrics/histograms/histograms.xml. ENUM_BOUNDARY diff --git a/extensions/common/permissions/api_permission.h b/extensions/common/permissions/api_permission.h index c07cc3d..16fff64 100644 --- a/extensions/common/permissions/api_permission.h +++ b/extensions/common/permissions/api_permission.h @@ -135,6 +135,7 @@ class APIPermission { kInput, kInputMethodPrivate, kInterceptAllKeys, + kLauncherSearchProvider, kLocation, kLogPrivate, kManagement, -- cgit v1.1