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

Unified Diff: chrome/browser/extensions/app_notification_test_util.cc

Issue 8567018: Limit number of notifications that can be received by the client. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/extensions/app_notification_test_util.cc
===================================================================
--- chrome/browser/extensions/app_notification_test_util.cc (revision 109957)
+++ chrome/browser/extensions/app_notification_test_util.cc (working copy)
@@ -29,7 +29,7 @@
std::string title = prefix + "_title_" + IntToString(i);
std::string body = prefix + "_body_" + IntToString(i);
AppNotification* item = new AppNotification(
- true, guid, extension_id, title, body);
+ true, count, guid, extension_id, title, body);
if (i % 2 == 0) {
item->set_link_url(GURL("http://www.example.com/" + prefix));
item->set_link_text(prefix + "_link_" + IntToString(i));

Powered by Google App Engine
This is Rietveld 408576698