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

Unified Diff: chromeos/network/network_cert_migrator_unittest.cc

Issue 24348002: Migrate DBus service constants from flimflam namespace to shill namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased to ToT Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/network_cert_migrator.cc ('k') | chromeos/network/network_change_notifier_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_cert_migrator_unittest.cc
diff --git a/chromeos/network/network_cert_migrator_unittest.cc b/chromeos/network/network_cert_migrator_unittest.cc
index ee2dcdfb6603fde88387129c777bbe283074596e..f1f5fb2121917cf366d33ebc459544a00ca3c3e3 100644
--- a/chromeos/network/network_cert_migrator_unittest.cc
+++ b/chromeos/network/network_cert_migrator_unittest.cc
@@ -104,12 +104,12 @@ class NetworkCertMigratorTest : public testing::Test {
const bool add_to_watchlist = true;
service_test_->AddService(kWifiStub,
kWifiStub,
- flimflam::kTypeWifi,
- flimflam::kStateOnline,
+ shill::kTypeWifi,
+ shill::kStateOnline,
add_to_visible,
add_to_watchlist);
service_test_->SetServiceProperty(kWifiStub,
- flimflam::kEapCaCertNssProperty,
+ shill::kEapCaCertNssProperty,
base::StringValue(kNSSNickname));
}
@@ -118,7 +118,7 @@ class NetworkCertMigratorTest : public testing::Test {
ca_pem->clear();
const base::DictionaryValue* properties =
service_test_->GetServiceProperties(kWifiStub);
- properties->GetStringWithoutPathExpansion(flimflam::kEapCaCertNssProperty,
+ properties->GetStringWithoutPathExpansion(shill::kEapCaCertNssProperty,
nss_nickname);
const base::ListValue* ca_pems = NULL;
properties->GetListWithoutPathExpansion(shill::kEapCaCertPemProperty,
@@ -132,16 +132,16 @@ class NetworkCertMigratorTest : public testing::Test {
const bool add_to_watchlist = true;
service_test_->AddService(kVPNStub,
kVPNStub,
- flimflam::kTypeVPN,
- flimflam::kStateIdle,
+ shill::kTypeVPN,
+ shill::kStateIdle,
add_to_visible,
add_to_watchlist);
base::DictionaryValue provider;
- const char* nss_property = open_vpn ? flimflam::kOpenVPNCaCertNSSProperty
- : flimflam::kL2tpIpsecCaCertNssProperty;
+ const char* nss_property = open_vpn ? shill::kOpenVPNCaCertNSSProperty
+ : shill::kL2tpIpsecCaCertNssProperty;
provider.SetStringWithoutPathExpansion(nss_property, kNSSNickname);
service_test_->SetServiceProperty(
- kVPNStub, flimflam::kProviderProperty, provider);
+ kVPNStub, shill::kProviderProperty, provider);
}
void GetVpnCACertProperties(bool open_vpn,
@@ -152,12 +152,12 @@ class NetworkCertMigratorTest : public testing::Test {
const base::DictionaryValue* properties =
service_test_->GetServiceProperties(kVPNStub);
const base::DictionaryValue* provider = NULL;
- properties->GetDictionaryWithoutPathExpansion(flimflam::kProviderProperty,
+ properties->GetDictionaryWithoutPathExpansion(shill::kProviderProperty,
&provider);
if (!provider)
return;
- const char* nss_property = open_vpn ? flimflam::kOpenVPNCaCertNSSProperty
- : flimflam::kL2tpIpsecCaCertNssProperty;
+ const char* nss_property = open_vpn ? shill::kOpenVPNCaCertNSSProperty
+ : shill::kL2tpIpsecCaCertNssProperty;
provider->GetStringWithoutPathExpansion(nss_property, nss_nickname);
const base::ListValue* ca_pems = NULL;
const char* pem_property = open_vpn ? shill::kOpenVPNCaCertPemProperty
« no previous file with comments | « chromeos/network/network_cert_migrator.cc ('k') | chromeos/network/network_change_notifier_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698