OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chromeos/system/ash_system_tray_delegate.h" | 5 #include "chrome/browser/chromeos/system/ash_system_tray_delegate.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 if (ConvertToDriveOperationStatus(list[i], &status)) | 195 if (ConvertToDriveOperationStatus(list[i], &status)) |
196 results.push_back(status); | 196 results.push_back(status); |
197 } | 197 } |
198 return results; | 198 return results; |
199 } | 199 } |
200 | 200 |
201 void BluetoothPowerFailure() { | 201 void BluetoothPowerFailure() { |
202 // TODO(sad): Show an error bubble? | 202 // TODO(sad): Show an error bubble? |
203 } | 203 } |
204 | 204 |
205 void BluetoothDiscoveryFailure() { | |
206 // TODO(sad): Show an error bubble? | |
207 } | |
208 | |
209 void BluetoothSetDiscoveringError() { | 205 void BluetoothSetDiscoveringError() { |
210 LOG(ERROR) << "BluetoothSetDiscovering failed."; | 206 LOG(ERROR) << "BluetoothSetDiscovering failed."; |
211 } | 207 } |
212 | 208 |
213 void BluetoothDeviceConnectError( | 209 void BluetoothDeviceConnectError( |
214 device::BluetoothDevice::ConnectErrorCode error_code) { | 210 device::BluetoothDevice::ConnectErrorCode error_code) { |
215 // TODO(sad): Do something? | 211 // TODO(sad): Do something? |
216 } | 212 } |
217 | 213 |
218 // Shows the settings sub page in the last active browser. If there is no such | 214 // Shows the settings sub page in the last active browser. If there is no such |
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1234 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegate); | 1230 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegate); |
1235 }; | 1231 }; |
1236 | 1232 |
1237 } // namespace | 1233 } // namespace |
1238 | 1234 |
1239 ash::SystemTrayDelegate* CreateSystemTrayDelegate() { | 1235 ash::SystemTrayDelegate* CreateSystemTrayDelegate() { |
1240 return new chromeos::SystemTrayDelegate(); | 1236 return new chromeos::SystemTrayDelegate(); |
1241 } | 1237 } |
1242 | 1238 |
1243 } // namespace chromeos | 1239 } // namespace chromeos |
OLD | NEW |