| Index: ash/common/system/tray/system_tray_delegate.cc
|
| diff --git a/ash/common/system/tray/system_tray_delegate.cc b/ash/common/system/tray/system_tray_delegate.cc
|
| index 3f18b1f38b3b41a944e3dcb15f5cf841c5216bce..84b5a7d5767817d763d5ec8226ec60e095bb89e1 100644
|
| --- a/ash/common/system/tray/system_tray_delegate.cc
|
| +++ b/ash/common/system/tray/system_tray_delegate.cc
|
| @@ -10,53 +10,39 @@ NetworkIconInfo::NetworkIconInfo()
|
| : connecting(false),
|
| connected(false),
|
| tray_icon_visible(true),
|
| - is_cellular(false) {
|
| -}
|
| + is_cellular(false) {}
|
|
|
| -NetworkIconInfo::~NetworkIconInfo() {
|
| -}
|
| +NetworkIconInfo::~NetworkIconInfo() {}
|
|
|
| BluetoothDeviceInfo::BluetoothDeviceInfo()
|
| - : connected(false), connecting(false), paired(false) {
|
| -}
|
| + : connected(false), connecting(false), paired(false) {}
|
|
|
| -BluetoothDeviceInfo::~BluetoothDeviceInfo() {
|
| -}
|
| +BluetoothDeviceInfo::~BluetoothDeviceInfo() {}
|
|
|
| -IMEInfo::IMEInfo() : selected(false), third_party(false) {
|
| -}
|
| +IMEInfo::IMEInfo() : selected(false), third_party(false) {}
|
|
|
| IMEInfo::IMEInfo(const IMEInfo& other) = default;
|
|
|
| -IMEInfo::~IMEInfo() {
|
| -}
|
| +IMEInfo::~IMEInfo() {}
|
|
|
| -IMEPropertyInfo::IMEPropertyInfo() : selected(false) {
|
| -}
|
| +IMEPropertyInfo::IMEPropertyInfo() : selected(false) {}
|
|
|
| -IMEPropertyInfo::~IMEPropertyInfo() {
|
| -}
|
| +IMEPropertyInfo::~IMEPropertyInfo() {}
|
|
|
| UpdateInfo::UpdateInfo()
|
| : severity(UPDATE_NORMAL),
|
| update_required(false),
|
| - factory_reset_required(false) {
|
| -}
|
| + factory_reset_required(false) {}
|
|
|
| -UpdateInfo::~UpdateInfo() {
|
| -}
|
| +UpdateInfo::~UpdateInfo() {}
|
|
|
| -SystemTrayDelegate::SystemTrayDelegate() {
|
| -}
|
| +SystemTrayDelegate::SystemTrayDelegate() {}
|
|
|
| -SystemTrayDelegate::~SystemTrayDelegate() {
|
| -}
|
| +SystemTrayDelegate::~SystemTrayDelegate() {}
|
|
|
| -void SystemTrayDelegate::Initialize() {
|
| -}
|
| +void SystemTrayDelegate::Initialize() {}
|
|
|
| -void SystemTrayDelegate::Shutdown() {
|
| -}
|
| +void SystemTrayDelegate::Shutdown() {}
|
|
|
| bool SystemTrayDelegate::GetTrayVisibilityOnStartup() {
|
| return false;
|
| @@ -66,8 +52,7 @@ LoginStatus SystemTrayDelegate::GetUserLoginStatus() const {
|
| return LoginStatus::NOT_LOGGED_IN;
|
| }
|
|
|
| -void SystemTrayDelegate::ChangeProfilePicture() {
|
| -}
|
| +void SystemTrayDelegate::ChangeProfilePicture() {}
|
|
|
| std::string SystemTrayDelegate::GetEnterpriseDomain() const {
|
| return std::string();
|
| @@ -107,109 +92,80 @@ base::HourClockType SystemTrayDelegate::GetHourClockType() const {
|
| return base::k24HourClock;
|
| }
|
|
|
| -void SystemTrayDelegate::ShowSettings() {
|
| -}
|
| +void SystemTrayDelegate::ShowSettings() {}
|
|
|
| bool SystemTrayDelegate::ShouldShowSettings() {
|
| return false;
|
| }
|
|
|
| -void SystemTrayDelegate::ShowDateSettings() {
|
| -}
|
| +void SystemTrayDelegate::ShowDateSettings() {}
|
|
|
| -void SystemTrayDelegate::ShowSetTimeDialog() {
|
| -}
|
| +void SystemTrayDelegate::ShowSetTimeDialog() {}
|
|
|
| -void SystemTrayDelegate::ShowNetworkSettingsForGuid(const std::string& guid) {
|
| -}
|
| +void SystemTrayDelegate::ShowNetworkSettingsForGuid(const std::string& guid) {}
|
|
|
| -void SystemTrayDelegate::ShowDisplaySettings() {
|
| -}
|
| +void SystemTrayDelegate::ShowDisplaySettings() {}
|
|
|
| void SystemTrayDelegate::ShowPowerSettings() {}
|
|
|
| -void SystemTrayDelegate::ShowChromeSlow() {
|
| -}
|
| +void SystemTrayDelegate::ShowChromeSlow() {}
|
|
|
| bool SystemTrayDelegate::ShouldShowDisplayNotification() {
|
| return false;
|
| }
|
|
|
| -void SystemTrayDelegate::ShowIMESettings() {
|
| -}
|
| +void SystemTrayDelegate::ShowIMESettings() {}
|
|
|
| -void SystemTrayDelegate::ShowHelp() {
|
| -}
|
| +void SystemTrayDelegate::ShowHelp() {}
|
|
|
| -void SystemTrayDelegate::ShowAccessibilityHelp() {
|
| -}
|
| +void SystemTrayDelegate::ShowAccessibilityHelp() {}
|
|
|
| -void SystemTrayDelegate::ShowAccessibilitySettings() {
|
| -}
|
| +void SystemTrayDelegate::ShowAccessibilitySettings() {}
|
|
|
| -void SystemTrayDelegate::ShowPublicAccountInfo() {
|
| -}
|
| +void SystemTrayDelegate::ShowPublicAccountInfo() {}
|
|
|
| -void SystemTrayDelegate::ShowEnterpriseInfo() {
|
| -}
|
| +void SystemTrayDelegate::ShowEnterpriseInfo() {}
|
|
|
| -void SystemTrayDelegate::ShowSupervisedUserInfo() {
|
| -}
|
| +void SystemTrayDelegate::ShowSupervisedUserInfo() {}
|
|
|
| -void SystemTrayDelegate::ShowUserLogin() {
|
| -}
|
| +void SystemTrayDelegate::ShowUserLogin() {}
|
|
|
| -void SystemTrayDelegate::SignOut() {
|
| -}
|
| +void SystemTrayDelegate::SignOut() {}
|
|
|
| -void SystemTrayDelegate::RequestLockScreen() {
|
| -}
|
| +void SystemTrayDelegate::RequestLockScreen() {}
|
|
|
| -void SystemTrayDelegate::RequestRestartForUpdate() {
|
| -}
|
| +void SystemTrayDelegate::RequestRestartForUpdate() {}
|
|
|
| void SystemTrayDelegate::RequestShutdown() {}
|
|
|
| void SystemTrayDelegate::GetAvailableBluetoothDevices(
|
| - BluetoothDeviceList* list) {
|
| -}
|
| + BluetoothDeviceList* list) {}
|
|
|
| -void SystemTrayDelegate::BluetoothStartDiscovering() {
|
| -}
|
| +void SystemTrayDelegate::BluetoothStartDiscovering() {}
|
|
|
| -void SystemTrayDelegate::BluetoothStopDiscovering() {
|
| -}
|
| +void SystemTrayDelegate::BluetoothStopDiscovering() {}
|
|
|
| -void SystemTrayDelegate::ConnectToBluetoothDevice(const std::string& address) {
|
| -}
|
| +void SystemTrayDelegate::ConnectToBluetoothDevice(const std::string& address) {}
|
|
|
| -void SystemTrayDelegate::GetCurrentIME(IMEInfo* info) {
|
| -}
|
| +void SystemTrayDelegate::GetCurrentIME(IMEInfo* info) {}
|
|
|
| -void SystemTrayDelegate::GetAvailableIMEList(IMEInfoList* list) {
|
| -}
|
| +void SystemTrayDelegate::GetAvailableIMEList(IMEInfoList* list) {}
|
|
|
| -void SystemTrayDelegate::GetCurrentIMEProperties(IMEPropertyInfoList* list) {
|
| -}
|
| +void SystemTrayDelegate::GetCurrentIMEProperties(IMEPropertyInfoList* list) {}
|
|
|
| -void SystemTrayDelegate::SwitchIME(const std::string& ime_id) {
|
| -}
|
| +void SystemTrayDelegate::SwitchIME(const std::string& ime_id) {}
|
|
|
| -void SystemTrayDelegate::ActivateIMEProperty(const std::string& key) {
|
| -}
|
| +void SystemTrayDelegate::ActivateIMEProperty(const std::string& key) {}
|
|
|
| -void SystemTrayDelegate::ManageBluetoothDevices() {
|
| -}
|
| +void SystemTrayDelegate::ManageBluetoothDevices() {}
|
|
|
| -void SystemTrayDelegate::ToggleBluetooth() {
|
| -}
|
| +void SystemTrayDelegate::ToggleBluetooth() {}
|
|
|
| bool SystemTrayDelegate::IsBluetoothDiscovering() {
|
| return false;
|
| }
|
|
|
| -void SystemTrayDelegate::ShowOtherNetworkDialog(const std::string& type) {
|
| -}
|
| +void SystemTrayDelegate::ShowOtherNetworkDialog(const std::string& type) {}
|
|
|
| bool SystemTrayDelegate::GetBluetoothAvailable() {
|
| return false;
|
| @@ -223,8 +179,7 @@ bool SystemTrayDelegate::GetBluetoothDiscovering() {
|
| return false;
|
| }
|
|
|
| -void SystemTrayDelegate::ChangeProxySettings() {
|
| -}
|
| +void SystemTrayDelegate::ChangeProxySettings() {}
|
|
|
| CastConfigDelegate* SystemTrayDelegate::GetCastConfigDelegate() {
|
| return nullptr;
|
| @@ -256,32 +211,26 @@ int SystemTrayDelegate::GetSystemTrayMenuWidth() {
|
| return 0;
|
| }
|
|
|
| -void SystemTrayDelegate::ActiveUserWasChanged() {
|
| -}
|
| +void SystemTrayDelegate::ActiveUserWasChanged() {}
|
|
|
| bool SystemTrayDelegate::IsSearchKeyMappedToCapsLock() {
|
| return false;
|
| }
|
|
|
| void SystemTrayDelegate::AddCustodianInfoTrayObserver(
|
| - CustodianInfoTrayObserver* observer) {
|
| -}
|
| + CustodianInfoTrayObserver* observer) {}
|
|
|
| void SystemTrayDelegate::RemoveCustodianInfoTrayObserver(
|
| - CustodianInfoTrayObserver* observer) {
|
| -}
|
| + CustodianInfoTrayObserver* observer) {}
|
|
|
| void SystemTrayDelegate::AddShutdownPolicyObserver(
|
| - ShutdownPolicyObserver* observer) {
|
| -}
|
| + ShutdownPolicyObserver* observer) {}
|
|
|
| void SystemTrayDelegate::RemoveShutdownPolicyObserver(
|
| - ShutdownPolicyObserver* observer) {
|
| -}
|
| + ShutdownPolicyObserver* observer) {}
|
|
|
| void SystemTrayDelegate::ShouldRebootOnShutdown(
|
| - const RebootOnShutdownCallback& callback) {
|
| -}
|
| + const RebootOnShutdownCallback& callback) {}
|
|
|
| VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
|
| return nullptr;
|
|
|