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

Unified Diff: components/translate/core/browser/translate_browser_metrics.h

Issue 1185703007: Disable translate when there is no API key (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 5 years, 5 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/browser/translate_browser_metrics.h
diff --git a/components/translate/core/browser/translate_browser_metrics.h b/components/translate/core/browser/translate_browser_metrics.h
index 2974104562e9a758d883f660cf514b79cb245c54..7190c226e2657f026d3c0494d820125b025e8841 100644
--- a/components/translate/core/browser/translate_browser_metrics.h
+++ b/components/translate/core/browser/translate_browser_metrics.h
@@ -39,6 +39,7 @@ enum InitiationStatusType {
INITIATION_STATUS_AUTO_BY_LINK,
INITIATION_STATUS_SHOW_INFOBAR,
INITIATION_STATUS_MIME_TYPE_IS_NOT_SUPPORTED,
+ INITIATION_STATUS_DISABLED_BY_KEY,
// Insert new items here.
INITIATION_STATUS_MAX,
};
« no previous file with comments | « chrome/browser/translate/translate_service.cc ('k') | components/translate/core/browser/translate_browser_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698