commit | 6e7d8014ea79c0c11957fd962ae857b0af490697 | [log] [tgz] |
---|---|---|
author | Travis Skare <[email protected]> | Tue Sep 11 23:51:05 2018 |
committer | Commit Bot <[email protected]> | Tue Sep 11 23:51:05 2018 |
tree | 23c8b5066723832816c8bf1d3edf8e16b330e6b1 | |
parent | 45885f643ee5b3b54c3d970158f4578ca17891fe [diff] [blame] |
[Omnibox] Documents - check unity opt-in as prereq. Falls back to sync if unified consent is not given, or hasn't been offered. Also checks on offering search suggestions, since that seems logical. Bug: 877850 Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs Change-Id: I8daab9213c3a6b71b2bd8a1dd921973b51b7db8e Reviewed-on: https://chromium-review.googlesource.com/1189702 Commit-Queue: Travis Skare <[email protected]> Reviewed-by: Justin Donnelly <[email protected]> Reviewed-by: Thomas Tangl <[email protected]> Reviewed-by: David Roger <[email protected]> Cr-Commit-Position: refs/heads/master@{#590535}
diff --git a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.h b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.h index 57585bc..6eda7d2 100644 --- a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.h +++ b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.h
@@ -55,6 +55,8 @@ bool SearchSuggestEnabled() const override; bool IsPersonalizedUrlDataCollectionActive() const override; bool IsAuthenticated() const override; + bool IsUnifiedConsentGiven() const override; + bool IsSyncActive() const override; void Classify( const base::string16& text, bool prefer_keyword,