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

Unified Diff: chrome/browser/ui/views/message_center/web_notification_tray_win_browsertest.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/ui/views/message_center/web_notification_tray_win_browsertest.cc
diff --git a/chrome/browser/ui/views/message_center/web_notification_tray_win_browsertest.cc b/chrome/browser/ui/views/message_center/web_notification_tray_win_browsertest.cc
index efe542944cf84b5fd715af503ce0a26ffec09637..16c12317ab3a6e18ca6ce9e02c823f476a8a5ef2 100644
--- a/chrome/browser/ui/views/message_center/web_notification_tray_win_browsertest.cc
+++ b/chrome/browser/ui/views/message_center/web_notification_tray_win_browsertest.cc
@@ -176,7 +176,7 @@ IN_PROC_BROWSER_TEST_F(WebNotificationTrayWinTest,
size_t notifications_to_add =
NotificationList::kMaxVisibleMessageCenterNotifications + 1;
for (size_t i = 0; i < notifications_to_add; ++i) {
- std::string id = StringPrintf("test_id%d", static_cast<int>(i));
+ std::string id = base::StringPrintf("test_id%d", static_cast<int>(i));
delegate->AddNotification(id);
}
bool shown = tray->message_center_tray_->ShowMessageCenterBubble();
@@ -198,7 +198,7 @@ IN_PROC_BROWSER_TEST_F(WebNotificationTrayWinTest, ManyPopupNotifications) {
size_t notifications_to_add =
NotificationList::kMaxVisiblePopupNotifications + 1;
for (size_t i = 0; i < notifications_to_add; ++i) {
- std::string id = StringPrintf("test_id%d", static_cast<int>(i));
+ std::string id = base::StringPrintf("test_id%d", static_cast<int>(i));
delegate->AddNotification(id);
}
// Hide and reshow the bubble so that it is updated immediately, not delayed.

Powered by Google App Engine
This is Rietveld 408576698