Index: chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h |
diff --git a/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h b/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h |
index d413222a69255d769d28421b02b05e91b51d068d..cd405f445650c40e536c770dedf2f370f3087946 100644 |
--- a/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h |
+++ b/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h |
@@ -41,7 +41,8 @@ class BluetoothOptionsHandler : public OptionsPageUIHandler, |
// OptionsPageUIHandler implementation. |
virtual void GetLocalizedValues( |
base::DictionaryValue* localized_strings) OVERRIDE; |
- virtual void Initialize() OVERRIDE; |
+ virtual void InitializeHandler() OVERRIDE; |
+ virtual void InitializePage() OVERRIDE; |
virtual void RegisterMessages() OVERRIDE; |
// Called when the 'Enable bluetooth' checkbox value is changed. |
@@ -142,6 +143,10 @@ class BluetoothOptionsHandler : public OptionsPageUIHandler, |
// Default bluetooth adapter, used for all operations. Owned by this object. |
scoped_ptr<BluetoothAdapter> adapter_; |
+ // Whether the bluetooth flag is present or not for the current process' |
+ // command line flags. |
+ bool bluetooth_enabled_; |
+ |
DISALLOW_COPY_AND_ASSIGN(BluetoothOptionsHandler); |
}; |