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

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

Issue 25531002: Move language detection to a component (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add a README Created 7 years, 2 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/common/translate_switches.cc
diff --git a/components/translate/common/translate_switches.cc b/components/translate/common/translate_switches.cc
new file mode 100644
index 0000000000000000000000000000000000000000..714bbfbb76036b9fa29531be75ec7e25d074caab
--- /dev/null
+++ b/components/translate/common/translate_switches.cc
@@ -0,0 +1,14 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/translate/common/translate_switches.h"
+
+namespace translate {
+namespace switches {
+
+// Overrides security-origin with which Translate runs in an isolated world.
+const char kTranslateSecurityOrigin[] = "translate-security-origin";
+
+} // namespace switches
+} // namespace translate

Powered by Google App Engine
This is Rietveld 408576698