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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 25531002: Move language detection to a component (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Run translate unittests on iOS 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/resources/translate.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index d90ca0157703a399eb205aed4ea001c4bc19c556..a0654c6747f7c873becb513a67665998af2ef9d9 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -109,6 +109,7 @@
#include "chrome/installer/util/google_update_settings.h"
#include "chromeos/chromeos_constants.h"
#include "components/nacl/common/nacl_process_type.h"
+#include "components/translate/common/translate_switches.h"
#include "components/user_prefs/pref_registry_syncable.h"
#include "content/public/browser/browser_child_process_host.h"
#include "content/public/browser/browser_main_parts.h"
@@ -1456,8 +1457,8 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
switches::kRecordMode,
switches::kSilentDumpOnDCHECK,
switches::kSpdyProxyAuthOrigin,
- switches::kTranslateSecurityOrigin,
switches::kWhitelistedExtensionID,
+ translate::switches::kTranslateSecurityOrigin,
};
command_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/resources/translate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698