Commit 2b448630 authored by tby's avatar tby Committed by Commit Bot

[Suggested files] Make ItemSuggests requests be BACKGROUND_REQUESTS

        files still appear in the launcher.

Tested: manually. Request format is valid, itemsuggest returns 200, and
Bug: 1146254
Change-Id: I8f28e813af1c8453a54d8e8373ccf787420ad699
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521978Reviewed-by: default avatarRachel Wong <wrong@chromium.org>
Commit-Queue: Tony Yeoman <tby@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824729}
parent ad193850
......@@ -67,7 +67,8 @@ constexpr char kDriveScope[] = "https://www.googleapis.com/auth/drive.readonly";
constexpr char kRequestBody[] = R"({
'client_info': {
'platform_type': 'CHROME_OS',
'scenario_type': 'CHROME_OS_ZSS_FILES'
'scenario_type': 'CHROME_OS_ZSS_FILES',
'request_type': 'BACKGROUND_REQUEST'
},
'max_suggestions': 10,
'type_detail_fields': 'drive_item.title,justification.display_text'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment