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

Side by Side Diff: ash/system/tray/system_tray_delegate.h

Issue 13416005: Bluetooth: clean up BluetoothDevice (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More win visible fixes Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 30 matching lines...) Expand all
41 }; 41 };
42 42
43 struct ASH_EXPORT BluetoothDeviceInfo { 43 struct ASH_EXPORT BluetoothDeviceInfo {
44 BluetoothDeviceInfo(); 44 BluetoothDeviceInfo();
45 ~BluetoothDeviceInfo(); 45 ~BluetoothDeviceInfo();
46 46
47 std::string address; 47 std::string address;
48 string16 display_name; 48 string16 display_name;
49 bool connected; 49 bool connected;
50 bool paired; 50 bool paired;
51 bool visible;
52 }; 51 };
53 52
54 typedef std::vector<BluetoothDeviceInfo> BluetoothDeviceList; 53 typedef std::vector<BluetoothDeviceInfo> BluetoothDeviceList;
55 54
56 // Structure that packs progress information of each operation. 55 // Structure that packs progress information of each operation.
57 struct ASH_EXPORT DriveOperationStatus { 56 struct ASH_EXPORT DriveOperationStatus {
58 enum OperationType { 57 enum OperationType {
59 OPERATION_UPLOAD, 58 OPERATION_UPLOAD,
60 OPERATION_DOWNLOAD, 59 OPERATION_DOWNLOAD,
61 OPERATION_OTHER, 60 OPERATION_OTHER,
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 // Speaks the given text if spoken feedback is enabled. 347 // Speaks the given text if spoken feedback is enabled.
349 virtual void MaybeSpeak(const std::string& utterance) const = 0; 348 virtual void MaybeSpeak(const std::string& utterance) const = 0;
350 349
351 // Creates a dummy delegate for testing. 350 // Creates a dummy delegate for testing.
352 static SystemTrayDelegate* CreateDummyDelegate(); 351 static SystemTrayDelegate* CreateDummyDelegate();
353 }; 352 };
354 353
355 } // namespace ash 354 } // namespace ash
356 355
357 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 356 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/bluetooth/tray_bluetooth.cc ('k') | chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698