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

Unified Diff: chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc

Issue 2230203002: chrome: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed accidental components/ change Created 4 years, 4 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: chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
diff --git a/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc b/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
index 15384ffce65ccd57add84b369b16ba9d4c7a1f57..ec43d33c3f2d471344f9f52f1b0bee81eeb2389f 100644
--- a/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
+++ b/chrome/browser/sync_file_system/local/syncable_file_system_unittest.cc
@@ -202,9 +202,9 @@ TEST_F(SyncableFileSystemTest, ChangeTrackerSimple) {
file_system_.GetChangedURLsInTracker(&urls);
EXPECT_EQ(3U, urls.size());
- EXPECT_TRUE(ContainsKey(urls, URL(kPath0)));
- EXPECT_TRUE(ContainsKey(urls, URL(kPath1)));
- EXPECT_TRUE(ContainsKey(urls, URL(kPath2)));
+ EXPECT_TRUE(base::ContainsKey(urls, URL(kPath0)));
+ EXPECT_TRUE(base::ContainsKey(urls, URL(kPath1)));
+ EXPECT_TRUE(base::ContainsKey(urls, URL(kPath2)));
VerifyAndClearChange(URL(kPath0),
FileChange(FileChange::FILE_CHANGE_ADD_OR_UPDATE,
@@ -236,9 +236,9 @@ TEST_F(SyncableFileSystemTest, ChangeTrackerSimple) {
// kPath0 and its all chidren (kPath1 and kPath2) must have been deleted.
EXPECT_EQ(3U, urls.size());
- EXPECT_TRUE(ContainsKey(urls, URL(kPath0)));
- EXPECT_TRUE(ContainsKey(urls, URL(kPath1)));
- EXPECT_TRUE(ContainsKey(urls, URL(kPath2)));
+ EXPECT_TRUE(base::ContainsKey(urls, URL(kPath0)));
+ EXPECT_TRUE(base::ContainsKey(urls, URL(kPath1)));
+ EXPECT_TRUE(base::ContainsKey(urls, URL(kPath2)));
VerifyAndClearChange(URL(kPath0),
FileChange(FileChange::FILE_CHANGE_DELETE,
« no previous file with comments | « chrome/browser/sync_file_system/local/local_file_sync_status.cc ('k') | chrome/browser/sync_file_system/subtree_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698