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

Unified Diff: chrome/browser/extensions/api/socket/udp_socket.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
Index: chrome/browser/extensions/api/socket/udp_socket.cc
diff --git a/chrome/browser/extensions/api/socket/udp_socket.cc b/chrome/browser/extensions/api/socket/udp_socket.cc
index 0ecfe2a74426d8b69352ff7046fc4a88823b8dab..7e7494bac4ed035bb82027907a6484e4227ebdc3 100644
--- a/chrome/browser/extensions/api/socket/udp_socket.cc
+++ b/chrome/browser/extensions/api/socket/udp_socket.cc
@@ -13,8 +13,9 @@
namespace extensions {
-UDPSocket::UDPSocket(ApiResourceEventNotifier* event_notifier)
- : Socket(event_notifier),
+UDPSocket::UDPSocket(const std::string& owner_extension_id,
+ ApiResourceEventNotifier* event_notifier)
+ : Socket(owner_extension_id, event_notifier),
socket_(net::DatagramSocket::DEFAULT_BIND,
net::RandIntCallback(),
NULL,
« no previous file with comments | « chrome/browser/extensions/api/socket/udp_socket.h ('k') | chrome/browser/extensions/api/socket/udp_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698