| 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 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 bool is_cellular; | 36 bool is_cellular; |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 struct ASH_EXPORT BluetoothDeviceInfo { | 39 struct ASH_EXPORT BluetoothDeviceInfo { |
| 40 BluetoothDeviceInfo(); | 40 BluetoothDeviceInfo(); |
| 41 ~BluetoothDeviceInfo(); | 41 ~BluetoothDeviceInfo(); |
| 42 | 42 |
| 43 std::string address; | 43 std::string address; |
| 44 string16 display_name; | 44 string16 display_name; |
| 45 bool connected; | 45 bool connected; |
| 46 bool connecting; |
| 46 bool paired; | 47 bool paired; |
| 47 bool visible; | 48 bool visible; |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 typedef std::vector<BluetoothDeviceInfo> BluetoothDeviceList; | 51 typedef std::vector<BluetoothDeviceInfo> BluetoothDeviceList; |
| 51 | 52 |
| 52 // Structure that packs progress information of each operation. | 53 // Structure that packs progress information of each operation. |
| 53 struct ASH_EXPORT DriveOperationStatus { | 54 struct ASH_EXPORT DriveOperationStatus { |
| 54 enum OperationType { | 55 enum OperationType { |
| 55 OPERATION_UPLOAD, | 56 OPERATION_UPLOAD, |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 // length limit is set. | 335 // length limit is set. |
| 335 virtual base::TimeDelta GetSessionLengthLimit() = 0; | 336 virtual base::TimeDelta GetSessionLengthLimit() = 0; |
| 336 | 337 |
| 337 // Creates a dummy delegate for testing. | 338 // Creates a dummy delegate for testing. |
| 338 static SystemTrayDelegate* CreateDummyDelegate(); | 339 static SystemTrayDelegate* CreateDummyDelegate(); |
| 339 }; | 340 }; |
| 340 | 341 |
| 341 } // namespace ash | 342 } // namespace ash |
| 342 | 343 |
| 343 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 344 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |