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

Unified Diff: components/sync_wifi/wifi_credential_unittest.cc

Issue 2463463004: [Sync] Rename wifi_sync to sync_wifi. (Closed)
Patch Set: Created 4 years, 2 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
Index: components/sync_wifi/wifi_credential_unittest.cc
diff --git a/components/wifi_sync/wifi_credential_unittest.cc b/components/sync_wifi/wifi_credential_unittest.cc
similarity index 96%
rename from components/wifi_sync/wifi_credential_unittest.cc
rename to components/sync_wifi/wifi_credential_unittest.cc
index aff6d39f133729a3e207fb5470b1d82aa3b290d9..eb91a378945da30fa15cd1622de6dc0e5e3c68e3 100644
--- a/components/wifi_sync/wifi_credential_unittest.cc
+++ b/components/sync_wifi/wifi_credential_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/wifi_sync/wifi_credential.h"
+#include "components/sync_wifi/wifi_credential.h"
#include <memory>
@@ -11,7 +11,7 @@
#include "components/onc/onc_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
-namespace wifi_sync {
+namespace sync_wifi {
namespace {
@@ -33,8 +33,8 @@ WifiCredential MakeCredential(const std::string& ssid,
bool TypeIsWifi(const base::DictionaryValue& onc_properties) {
std::string network_type;
- EXPECT_TRUE(onc_properties.GetString(
- onc::toplevel_config::kType, &network_type));
+ EXPECT_TRUE(
+ onc_properties.GetString(onc::toplevel_config::kType, &network_type));
return network_type == onc::network_type::kWiFi;
}
@@ -131,4 +131,4 @@ TEST(WifiCredentialTest, ToOncPropertiesSsidNonUtf8) {
EXPECT_FALSE(onc_properties);
}
-} // namespace wifi_sync
+} // namespace sync_wifi
« no previous file with comments | « components/sync_wifi/wifi_credential_syncable_service_unittest.cc ('k') | components/sync_wifi/wifi_security_class.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698