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

Unified Diff: chrome/browser/notifications/desktop_notification_service_unittest.cc

Issue 7649006: more changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another typo Created 9 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/notifications/desktop_notification_service_unittest.cc
diff --git a/chrome/browser/notifications/desktop_notification_service_unittest.cc b/chrome/browser/notifications/desktop_notification_service_unittest.cc
index 17e8f1cfa634c50cf21b21781c0fa6880d80b797..25a1d5c7a904b24516772d3d4db9a3ff6dd7cf0c 100644
--- a/chrome/browser/notifications/desktop_notification_service_unittest.cc
+++ b/chrome/browser/notifications/desktop_notification_service_unittest.cc
@@ -203,14 +203,14 @@ TEST_F(DesktopNotificationServiceTest, PrefChangesSentToCache) {
ListPrefUpdate update_allowed_origins(
prefs, prefs::kDesktopNotificationAllowedOrigins);
ListValue* allowed_origins = update_allowed_origins.Get();
- allowed_origins->Append(new StringValue(GURL("http://allowed.com").spec()));
+ allowed_origins->Append(base::StringValue::New(GURL("http://allowed.com").spec()));
}
{
ListPrefUpdate update_denied_origins(
prefs, prefs::kDesktopNotificationDeniedOrigins);
ListValue* denied_origins = update_denied_origins.Get();
- denied_origins->Append(new StringValue(GURL("http://denied.com").spec()));
+ denied_origins->Append(base::StringValue::New(GURL("http://denied.com").spec()));
}
EXPECT_EQ(WebKit::WebNotificationPresenter::PermissionAllowed,

Powered by Google App Engine
This is Rietveld 408576698