Adds an indepedent language detection client to non-iOS Chrome, behind an
experiment flag.
This helps separate language modeling from its various client features.
Bug: 736929
Change-Id: I5944645ebac35f739fd59fb7646a05c0f7505c4e
Reviewed-on: https://chromium-review.googlesource.com/578705
Reviewed-by: Hajime Hoshi <[email protected]>
Reviewed-by: Sam McNally <[email protected]>
Reviewed-by: Michael Wasserman <[email protected]>
Commit-Queue: Michael Martis <[email protected]>
Cr-Commit-Position: refs/heads/master@{#490196}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index d2d3e67..d65b35df 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -537,6 +537,8 @@
"invalidation/profile_invalidation_provider_factory.h",
"io_thread.cc",
"io_thread.h",
+ "language/chrome_language_detection_client.cc",
+ "language/chrome_language_detection_client.h",
"language/url_language_histogram_factory.cc",
"language/url_language_histogram_factory.h",
"lifetime/application_lifetime.cc",