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

Unified Diff: chrome/browser/media_galleries/media_file_system_registry_unittest.cc

Issue 12767006: [Cleanup] Remove StringPrintf from global namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, once more Created 7 years, 9 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/media_galleries/media_file_system_registry_unittest.cc
diff --git a/chrome/browser/media_galleries/media_file_system_registry_unittest.cc b/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
index 97d3fdd467aedbbda06bb2b9e27663af457da769..5657f007155b88844b71200bae1f9a12487b3401 100644
--- a/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
+++ b/chrome/browser/media_galleries/media_file_system_registry_unittest.cc
@@ -511,7 +511,7 @@ void ProfileState::CheckGalleries(
registry->GetMediaFileSystemsForExtension(
rvh, no_permissions_extension_.get(),
base::Bind(&ProfileState::CompareResults, base::Unretained(this),
- StringPrintf("%s (no permission)", test.c_str()),
+ base::StringPrintf("%s (no permission)", test.c_str()),
base::ConstRef(empty_expectation)));
MessageLoop::current()->RunUntilIdle();
EXPECT_EQ(1, GetAndClearComparisonCount());
@@ -520,7 +520,7 @@ void ProfileState::CheckGalleries(
registry->GetMediaFileSystemsForExtension(
rvh, regular_permission_extension_.get(),
base::Bind(&ProfileState::CompareResults, base::Unretained(this),
- StringPrintf("%s (regular permission)", test.c_str()),
+ base::StringPrintf("%s (regular permission)", test.c_str()),
base::ConstRef(regular_extension_galleries)));
MessageLoop::current()->RunUntilIdle();
EXPECT_EQ(1, GetAndClearComparisonCount());
@@ -529,7 +529,7 @@ void ProfileState::CheckGalleries(
registry->GetMediaFileSystemsForExtension(
rvh, all_permission_extension_.get(),
base::Bind(&ProfileState::CompareResults, base::Unretained(this),
- StringPrintf("%s (all permission)", test.c_str()),
+ base::StringPrintf("%s (all permission)", test.c_str()),
base::ConstRef(all_extension_galleries)));
MessageLoop::current()->RunUntilIdle();
EXPECT_EQ(1, GetAndClearComparisonCount());

Powered by Google App Engine
This is Rietveld 408576698