summaryrefslogtreecommitdiff
path: root/mock_service.h
diff options
context:
space:
mode:
authorPaul Stewart <pstew@chromium.org>2012-02-16 06:58:55 -0800
committerGerrit <chrome-bot@google.com>2012-02-23 06:58:11 -0800
commit20088d860631a67c151a12783fbbee63c708792f (patch)
treee35425616b7f30e753c7be39b886b2fe5cc0d123 /mock_service.h
parentbdb02e664f79f29b3bce9be4ca05c82d8ede697f (diff)
downloadshill-20088d860631a67c151a12783fbbee63c708792f.tar.gz
shill: Perform Portal Detection in Device
When a connection completes, start a portal detection request, which may change the state of the selected service. Bonus changes: removed Service::kStateReady, since Service::kStateConnected maps directly to flimflam::kStateReady. Also, move technology list parsing over to technology.cc. BUG=chromium-os:23318 TEST=New unit tests Change-Id: I2fad724165af6914c8f83bc123f07db5af223a05 Reviewed-on: https://gerrit.chromium.org/gerrit/16117 Commit-Ready: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
Diffstat (limited to 'mock_service.h')
-rw-r--r--mock_service.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mock_service.h b/mock_service.h
index d023e862..0783ba0c 100644
--- a/mock_service.h
+++ b/mock_service.h
@@ -46,6 +46,7 @@ class MockService : public Service {
MOCK_METHOD0(Unload, void());
MOCK_METHOD1(Save, bool(StoreInterface *store_interface));
MOCK_METHOD0(SaveToCurrentProfile, bool());
+ MOCK_CONST_METHOD0(HasProxyConfig, bool());
MOCK_METHOD1(SetConnection, void(ConnectionRefPtr connection));
MOCK_CONST_METHOD0(explicitly_disconnected, bool());
MOCK_CONST_METHOD0(technology, Technology::Identifier());