Lines Matching refs:storage
152 bool PPPoEService::Load(StoreInterface* storage) { in Load() argument
153 if (!Service::Load(storage)) { in Load()
158 storage->GetString(id, kPPPoEUsernameProperty, &username_); in Load()
159 storage->GetString(id, kPPPoEPasswordProperty, &password_); in Load()
160 storage->GetInt(id, kPPPoELCPEchoIntervalProperty, &lcp_echo_interval_); in Load()
161 storage->GetInt(id, kPPPoELCPEchoFailureProperty, &lcp_echo_failure_); in Load()
162 storage->GetInt(id, kPPPoEMaxAuthFailureProperty, &max_auth_failure_); in Load()
167 bool PPPoEService::Save(StoreInterface* storage) { in Save() argument
168 if (!Service::Save(storage)) { in Save()
173 storage->SetString(id, kPPPoEUsernameProperty, username_); in Save()
174 storage->SetString(id, kPPPoEPasswordProperty, password_); in Save()
175 storage->SetInt(id, kPPPoELCPEchoIntervalProperty, lcp_echo_interval_); in Save()
176 storage->SetInt(id, kPPPoELCPEchoFailureProperty, lcp_echo_failure_); in Save()
177 storage->SetInt(id, kPPPoEMaxAuthFailureProperty, max_auth_failure_); in Save()