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

Unified Diff: chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc

Issue 1913293002: Limit tab sharing to Dev and Canary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc
diff --git a/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc b/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc
index dbdec766d8fb24647ca4fd9c5571ced64c325a0f..8093edb4a0d84c9226082ac16cb2212bbcf7573b 100644
--- a/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc
+++ b/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc
@@ -107,7 +107,9 @@ bool DesktopCaptureChooseDesktopMediaFunctionBase::Execute(
show_tabs = false;
} else {
const version_info::Channel channel = chrome::GetChannel();
- show_tabs = (channel != version_info::Channel::STABLE);
+ if ((channel == version_info::Channel::STABLE) ||
+ (channel == version_info::Channel::BETA))
+ show_tabs = false;
Sergey Ulanov 2016/04/22 21:55:26 show_tabs is false by default, so this assignment
}
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698