diff options
author | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-15 20:49:58 +0000 |
---|---|---|
committer | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-15 20:49:58 +0000 |
commit | d45aa1f5cf91d7f0840f66cfcb1d00ed9ba64c6b (patch) | |
tree | 69f4709b4856a0fd5043a24aa6367ae4d3e5a65c /chrome/browser/chromeos/cros/cros_mock.cc | |
parent | 76b5e7ed4caf688621f6539a0ff4c5b1e4c45b4e (diff) | |
download | chromium_src-d45aa1f5cf91d7f0840f66cfcb1d00ed9ba64c6b.zip chromium_src-d45aa1f5cf91d7f0840f66cfcb1d00ed9ba64c6b.tar.gz chromium_src-d45aa1f5cf91d7f0840f66cfcb1d00ed9ba64c6b.tar.bz2 |
Add cellular_initialized state and UI
The goal is to provide connecting icon and text while the cellular network is initializing.
Cellular initializing is defined as:
Cellular technology is enabled, but no powered device present.
BUG=169979
For ash_strings.gyp:
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/11878034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros/cros_mock.cc')
-rw-r--r-- | chrome/browser/chromeos/cros/cros_mock.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/cros/cros_mock.cc b/chrome/browser/chromeos/cros/cros_mock.cc index 5790391..34077e8 100644 --- a/chrome/browser/chromeos/cros/cros_mock.cc +++ b/chrome/browser/chromeos/cros/cros_mock.cc @@ -167,6 +167,9 @@ void CrosMock::SetNetworkLibraryStatusAreaExpectations() { EXPECT_CALL(*mock_network_library_, wifi_scanning()) .Times(AnyNumber()) .WillRepeatedly((Return(false))); + EXPECT_CALL(*mock_network_library_, cellular_initializing()) + .Times(AnyNumber()) + .WillRepeatedly((Return(false))); // Set specific expectations for interesting functions: |