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

Issue 1134473003: bluetooth: Add a WebBluetooth command line flag. (Closed)

Created:
5 years, 7 months ago by ortuno
Modified:
5 years, 7 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Add a WebBluetooth command line flag. Adds WebBluetooth command line flag for enabling WebBluetooth. Also adds it to about:flags and to bad_flags_prompt to make sure users know using the flag is dangerous. This is the browser side patch to introduce the WebBluetooth Flag: [1] https://codereview.chromium.org/1136913002 [2] This patch. [3] https://codereview.chromium.org/1127313004 BUG=486456 Committed: https://crrev.com/89be0ad96e7968a977db955441ddab26685b7cc8 Cr-Commit-Position: refs/heads/master@{#331185}

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Addressed @felt comments #

Total comments: 2

Patch Set 3 : Added comment to explain why we add the flag. #

Total comments: 6

Patch Set 4 : Merged with TOT and fixed conflicts #

Patch Set 5 : Add to flag to histogram #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -2 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/startup/bad_flags_prompt.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M content/child/runtime_features.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 35 (11 generated)
felt
https://codereview.chromium.org/1134473003/diff/20001/chrome/browser/ui/startup/bad_flags_prompt.cc File chrome/browser/ui/startup/bad_flags_prompt.cc (right): https://codereview.chromium.org/1134473003/diff/20001/chrome/browser/ui/startup/bad_flags_prompt.cc#newcode91 chrome/browser/ui/startup/bad_flags_prompt.cc:91: switches::kEnableWebBluetooth, you might want to keep the extra blank ...
5 years, 7 months ago (2015-05-11 13:53:04 UTC) #3
ortuno
Thanks Adrienne! Ready for review again. https://codereview.chromium.org/1134473003/diff/20001/chrome/browser/ui/startup/bad_flags_prompt.cc File chrome/browser/ui/startup/bad_flags_prompt.cc (right): https://codereview.chromium.org/1134473003/diff/20001/chrome/browser/ui/startup/bad_flags_prompt.cc#newcode91 chrome/browser/ui/startup/bad_flags_prompt.cc:91: switches::kEnableWebBluetooth, On 2015/05/11 ...
5 years, 7 months ago (2015-05-11 17:46:43 UTC) #4
ortuno
Thanks Adrienne! Ready for review again.
5 years, 7 months ago (2015-05-11 17:46:46 UTC) #5
felt
lgtm https://codereview.chromium.org/1134473003/diff/20001/content/shell/app/shell_main_delegate.cc File content/shell/app/shell_main_delegate.cc (right): https://codereview.chromium.org/1134473003/diff/20001/content/shell/app/shell_main_delegate.cc#newcode174 content/shell/app/shell_main_delegate.cc:174: command_line.AppendSwitch(switches::kEnableWebBluetooth); On 2015/05/11 17:46:43, ortuno wrote: > On ...
5 years, 7 months ago (2015-05-11 18:29:20 UTC) #6
scheib
LGTM, but please: https://codereview.chromium.org/1134473003/diff/40001/content/shell/app/shell_main_delegate.cc File content/shell/app/shell_main_delegate.cc (right): https://codereview.chromium.org/1134473003/diff/40001/content/shell/app/shell_main_delegate.cc#newcode174 content/shell/app/shell_main_delegate.cc:174: command_line.AppendSwitch(switches::kEnableWebBluetooth); Add the explanation you gave ...
5 years, 7 months ago (2015-05-12 17:51:26 UTC) #8
ortuno
Thanks! https://codereview.chromium.org/1134473003/diff/40001/content/shell/app/shell_main_delegate.cc File content/shell/app/shell_main_delegate.cc (right): https://codereview.chromium.org/1134473003/diff/40001/content/shell/app/shell_main_delegate.cc#newcode174 content/shell/app/shell_main_delegate.cc:174: command_line.AppendSwitch(switches::kEnableWebBluetooth); On 2015/05/12 at 17:51:26, scheib wrote: > ...
5 years, 7 months ago (2015-05-12 20:06:06 UTC) #9
ortuno
@cpu: We are adding a new Web Bluetooth flag. Please owners review for content_switches.
5 years, 7 months ago (2015-05-12 20:35:44 UTC) #11
cpu_(ooo_6.6-7.5)
content_switches lgtm
5 years, 7 months ago (2015-05-12 22:27:14 UTC) #12
ortuno
@jochen: We are adding a new Web Bluetooth flag. PTAL
5 years, 7 months ago (2015-05-12 23:54:11 UTC) #14
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1134473003/diff/60001/content/child/runtime_features.cc File content/child/runtime_features.cc (right): https://codereview.chromium.org/1134473003/diff/60001/content/child/runtime_features.cc#newcode95 content/child/runtime_features.cc:95: if (command_line.HasSwitch(switches::kEnableWebBluetooth)) this should be in chrome/renderer/chrome_render_process_observer.cc https://codereview.chromium.org/1134473003/diff/60001/content/public/common/content_switches.h File ...
5 years, 7 months ago (2015-05-15 06:11:33 UTC) #15
ortuno
@jochen: Thanks! Questions inline. For more context please see: https://codereview.chromium.org/1136913002 https://codereview.chromium.org/1127313004 https://codereview.chromium.org/1134473003/diff/60001/content/child/runtime_features.cc File content/child/runtime_features.cc (right): ...
5 years, 7 months ago (2015-05-15 16:31:14 UTC) #16
jochen (gone - plz use gerrit)
On 2015/05/15 at 16:31:14, ortuno wrote: > @jochen: Thanks! Questions inline. For more context please ...
5 years, 7 months ago (2015-05-19 11:01:40 UTC) #17
ortuno
On 2015/05/19 at 11:01:40, jochen wrote: > On 2015/05/15 at 16:31:14, ortuno wrote: > > ...
5 years, 7 months ago (2015-05-19 16:18:03 UTC) #18
jochen (gone - plz use gerrit)
status=test means it's just enabled for layout tests. you can still add an extra command ...
5 years, 7 months ago (2015-05-19 16:21:50 UTC) #19
ortuno
On 2015/05/19 at 16:21:50, jochen wrote: > status=test means it's just enabled for layout tests. ...
5 years, 7 months ago (2015-05-19 16:22:44 UTC) #20
ortuno
On 2015/05/19 at 11:01:40, jochen wrote: > On 2015/05/15 at 16:31:14, ortuno wrote: > > ...
5 years, 7 months ago (2015-05-19 19:15:07 UTC) #21
jochen (gone - plz use gerrit)
lgtm
5 years, 7 months ago (2015-05-21 07:44:57 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134473003/60001
5 years, 7 months ago (2015-05-22 17:09:30 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/27675) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 7 months ago (2015-05-22 17:13:45 UTC) #27
ortuno
@asvitkine: OWNERS review for histograms.xml please.
5 years, 7 months ago (2015-05-22 18:16:19 UTC) #29
Alexei Svitkine (slow)
lgtm
5 years, 7 months ago (2015-05-22 18:18:46 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134473003/100001
5 years, 7 months ago (2015-05-22 19:40:03 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 7 months ago (2015-05-22 21:54:27 UTC) #34
commit-bot: I haz the power
5 years, 7 months ago (2015-05-22 21:57:04 UTC) #35
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/89be0ad96e7968a977db955441ddab26685b7cc8
Cr-Commit-Position: refs/heads/master@{#331185}

Powered by Google App Engine
This is Rietveld 408576698