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

Issue 8575011: chrome: bluetooth: create BluetoothManager after about:flags parsed (Closed)

Created:
9 years, 1 month ago by Vince Laviano
Modified:
9 years, 1 month ago
Reviewers:
satorux1
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, kevers
Visibility:
Public.

Description

chrome: bluetooth: create BluetoothManager after about:flags parsed This CL fixes a crash that occurs if --enable-bluetooth is set via the chrome://flags page. The UI attempts to interact with the BluetoothManager, but neither the BluetoothManager nor the underlying bluetooth dbus clients have been created because the parsed command line was tested for --enable-bluetooth prior to the about:flags flags being added to it. We resolve this issue by unconditionally creating the bluetooth dbus clients and deferring conditional creation of the BluetoothManager until after the about:flags flags are added to the parsed command line. BUG=chromium-os:22877 TEST=Visit chrome://flags. Enable bluetooth. Restart. Visit chrome://settings/system and observe that Chrome doesn't crash. Change-Id: Ib5deed32200afa8c1e9455abc72cefb7e5183da2 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110375

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -12 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 2 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/dbus/dbus_thread_manager.cc View 1 chunk +5 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Vince Laviano
9 years, 1 month ago (2011-11-16 20:18:27 UTC) #1
satorux1
LGTM
9 years, 1 month ago (2011-11-16 20:53:28 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vlaviano@chromium.org/8575011/1
9 years, 1 month ago (2011-11-16 21:23:50 UTC) #3
commit-bot: I haz the power
9 years, 1 month ago (2011-11-16 22:30:22 UTC) #4
Change committed as 110375

Powered by Google App Engine
This is Rietveld 408576698