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

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: formatting 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..8a2e4decf663387ce49e2a7a2dda2584e5fc468e 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,12 @@ 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;
+ } else {
+ show_tabs = true;
+ }
}
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