commit | f8c530aac55509b4422c10a3e3ec0a5bfef9d6fa | [log] [tgz] |
---|---|---|
author | Minh X. Nguyen <[email protected]> | Wed Dec 13 23:54:17 2017 |
committer | Commit Bot <[email protected]> | Wed Dec 13 23:54:17 2017 |
tree | ceb6b3fc641aa37a0edbd73a8f22abf6bcbdbfb3 | |
parent | 410c205dcccaaeca0070d25b500d23bbccf7da77 [diff] [blame] |
Add install_source to CrxComponent. This change would allow us to propagate extension install source to the component updater protocol builder. Bug: Change-Id: I8daa94f9a07c15b9301b1ca2a3f8cacdfd7fa894 Reviewed-on: https://chromium-review.googlesource.com/823289 Commit-Queue: Minh Nguyen <[email protected]> Reviewed-by: Joshua Pawlicki <[email protected]> Cr-Commit-Position: refs/heads/master@{#523930}
diff --git a/components/update_client/update_client.h b/components/update_client/update_client.h index 10e9cd18e..a806057 100644 --- a/components/update_client/update_client.h +++ b/components/update_client/update_client.h
@@ -253,6 +253,11 @@ // Reasons why this component/extension is disabled. std::vector<int> disabled_reasons; + + // Information about where the component/extension was installed from. + // For extension, this information is set from the update service, which + // gets the install source from the update URL. + std::string install_source; }; // Called when a non-blocking call of UpdateClient completes.