Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Unified Diff: components/translate/core/common/translate_switches.cc

Issue 2565873002: [translate] Add translate ranker model loader. (Closed)
Patch Set: comments from hamelphi Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/translate/core/common/translate_switches.cc
diff --git a/components/translate/core/common/translate_switches.cc b/components/translate/core/common/translate_switches.cc
index 2a6da776977d33710cd79aa1db4e4f1d5aa03040..788ff201da3f6418a8a9507f1ab131760823e2f9 100644
--- a/components/translate/core/common/translate_switches.cc
+++ b/components/translate/core/common/translate_switches.cc
@@ -21,5 +21,7 @@ const char kTranslateSecurityOrigin[] = "translate-security-origin";
// Overrides the URL from which the translate ranker model is downloaded.
const char kTranslateRankerModelURL[] = "translate-ranker-model-url";
+// Overrides the path in which the translate ranker model is cached.
+const char kTranslateRankerModelPath[] = "translate-ranker-model-path";
groby-ooo-7-16 2017/01/23 21:41:57 Do we really need this switch?
Roger McFarlane (Chromium) 2017/02/08 23:08:13 It was intended to allow for testing of a particul
} // namespace switches
} // namespace translate

Powered by Google App Engine
This is Rietveld 408576698