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

Unified Diff: chrome/browser/extensions/extension_tabs_module.cc

Issue 551070: Revert 36541 (which went in without any commit log by some black magic). ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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
« no previous file with comments | « chrome/browser/extensions/extension_browsertests_misc.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_tabs_module.cc
===================================================================
--- chrome/browser/extensions/extension_tabs_module.cc (revision 36549)
+++ chrome/browser/extensions/extension_tabs_module.cc (working copy)
@@ -832,6 +832,11 @@
}
bool DetectTabLanguageFunction::RunImpl() {
+ #if !defined(OS_WIN)
+ error_ = keys::kSupportedInWindowsOnlyError;
+ return false;
+ #endif
+
int tab_id = 0;
Browser* browser = NULL;
TabContents* contents = NULL;
« no previous file with comments | « chrome/browser/extensions/extension_browsertests_misc.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698