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

Unified Diff: chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h

Issue 460663002: Merge 288079 "BT adapter is switched to initial state after HID ..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2062/src/
Patch Set: Created 6 years, 4 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 | chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h
===================================================================
--- chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h (revision 288696)
+++ chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h (working copy)
@@ -170,6 +170,10 @@
// all necessary devices (mouse and keyboard) already connected.
void GetDevicesFirstTime();
+ // Called by device::BluetoothAdapter in response to a failure to
+ // power off BT adapter.
+ void SetPoweredOffError();
+
// Called for revision of active devices. If current-placement is available
// for mouse or keyboard device, sets one of active devices as current or
// tries to connect some BT device if no appropriate devices are connected.
@@ -214,6 +218,9 @@
bool first_time_screen_show_;
+ // State of BT adapter before screen-initiated changes.
+ scoped_ptr<bool> adapter_initially_powered_;
+
base::WeakPtrFactory<HIDDetectionScreenHandler> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(HIDDetectionScreenHandler);
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698