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

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: Fix compilation Created 7 years, 3 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..4959b83b5fe59639f5dbc49c5d1e5b097aac230a
--- /dev/null
+++ b/components/translate/common/translate_switches.cc
@@ -0,0 +1,12 @@
+// 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 {
+
+// Overrides security-origin with which Translate runs in an isolated world.
+const char kTranslateSecurityOrigin[] = "translate-security-origin";
+
+} // namespace translate

Powered by Google App Engine
This is Rietveld 408576698