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

Unified Diff: chrome/browser/extensions/api/socket/udp_socket_unittest.cc

Issue 10919201: Make sure that a given app/extension requests only its own resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improve tests; fix merge conflicts. Created 8 years, 3 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
« no previous file with comments | « chrome/browser/extensions/api/socket/udp_socket.cc ('k') | chrome/browser/extensions/api/usb/usb_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/socket/udp_socket_unittest.cc
diff --git a/chrome/browser/extensions/api/socket/udp_socket_unittest.cc b/chrome/browser/extensions/api/socket/udp_socket_unittest.cc
index 08a864f49dea18190c37cff8ae78eebd4830c753..2bfed3285a6bde946c653c43220e87c006f08bf5 100644
--- a/chrome/browser/extensions/api/socket/udp_socket_unittest.cc
+++ b/chrome/browser/extensions/api/socket/udp_socket_unittest.cc
@@ -32,7 +32,7 @@ static void OnCompleted(int bytes_read,
TEST(UDPSocketUnitTest, TestUDPSocketRecvFrom) {
MessageLoopForIO io_loop; // for RecvFrom to do its threaded work.
- UDPSocket socket(NULL);
+ UDPSocket socket("abcdefghijklmnopqrst", NULL);
// Confirm that we can call two RecvFroms in quick succession without
// triggering crbug.com/146606.
« no previous file with comments | « chrome/browser/extensions/api/socket/udp_socket.cc ('k') | chrome/browser/extensions/api/usb/usb_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698