For all foreground updates, we should add the X-Google-Interactivity: fg header. For all background updates, we should add X-Google-Interactivity: bg.
Header spec is at https://github.com/google/omaha/blob/master/doc/ServerProtocolV3.md#request-headers
(The server's existing heuristic of using the presence of an app with 0.0.0.0 version is broken by Origin Trials always being 0.0.0.0.)
The header names have been changed, we need to make a string substitution to update them:
X-GoogleUpdate-Interactivity -> X-Goog-Update-Interactivity
X-GoogleUpdate-AppId -> X-Goog-Update-AppId
X-GoogleUpdate-Updater -> X-Goog-Update-Updater
Comment 1 by sorin@chromium.org
, Feb 16 2018