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

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

Issue 12385064: Introduce 'connecting' field to bluetooth device info for system tray (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix 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 #include "ash/system/tray/system_tray_delegate.h" 5 #include "ash/system/tray/system_tray_delegate.h"
6 6
7 #include "ash/system/tray/test_system_tray_delegate.h" 7 #include "ash/system/tray/test_system_tray_delegate.h"
8 8
9 namespace ash { 9 namespace ash {
10 10
11 NetworkIconInfo::NetworkIconInfo() 11 NetworkIconInfo::NetworkIconInfo()
12 : connecting(false), 12 : connecting(false),
13 connected(false), 13 connected(false),
14 tray_icon_visible(true), 14 tray_icon_visible(true),
15 is_cellular(false) { 15 is_cellular(false) {
16 } 16 }
17 17
18 NetworkIconInfo::~NetworkIconInfo() { 18 NetworkIconInfo::~NetworkIconInfo() {
19 } 19 }
20 20
21 BluetoothDeviceInfo::BluetoothDeviceInfo() 21 BluetoothDeviceInfo::BluetoothDeviceInfo()
22 : connected(false) { 22 : connected(false),
23 connecting(false),
24 paired(false) {
23 } 25 }
24 26
25 BluetoothDeviceInfo::~BluetoothDeviceInfo() { 27 BluetoothDeviceInfo::~BluetoothDeviceInfo() {
26 } 28 }
27 29
28 DriveOperationStatus::DriveOperationStatus() 30 DriveOperationStatus::DriveOperationStatus()
29 : progress(0.0), type(OPERATION_OTHER), state(OPERATION_NOT_STARTED) { 31 : progress(0.0), type(OPERATION_OTHER), state(OPERATION_NOT_STARTED) {
30 } 32 }
31 33
32 DriveOperationStatus::~DriveOperationStatus() { 34 DriveOperationStatus::~DriveOperationStatus() {
(...skipping 15 matching lines...) Expand all
48 } 50 }
49 51
50 // TODO(stevenjb/oshima): Remove this once Shell::delegate_ is guaranteed 52 // TODO(stevenjb/oshima): Remove this once Shell::delegate_ is guaranteed
51 // to not be NULL and move TestSystemTrayDelegate -> ash/test. crbug.com/159693 53 // to not be NULL and move TestSystemTrayDelegate -> ash/test. crbug.com/159693
52 // static 54 // static
53 SystemTrayDelegate* SystemTrayDelegate::CreateDummyDelegate() { 55 SystemTrayDelegate* SystemTrayDelegate::CreateDummyDelegate() {
54 return new test::TestSystemTrayDelegate; 56 return new test::TestSystemTrayDelegate;
55 } 57 }
56 58
57 } // namespace ash 59 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray_delegate.h ('k') | chrome/browser/chromeos/system/ash_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698