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

Unified Diff: content/browser/renderer_host/p2p/socket_host_udp_unittest.cc

Issue 690903002: Remove timing limitation of SetOption invocation for PPAPI sockets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
diff --git a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
index 5d67a24fc3327563c21773cc973ae8ba7084e7b0..171fcef18338f3cfc31dcace7acb453951ba71b7 100644
--- a/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
+++ b/content/browser/renderer_host/p2p/socket_host_udp_unittest.cc
@@ -115,9 +115,25 @@ class FakeDatagramServerSocket : public net::DatagramServerSocket {
const net::BoundNetLog& NetLog() const override { return net_log_; }
- void AllowAddressReuse() override { NOTIMPLEMENTED(); }
+ int AllowAddressReuse() override {
+ NOTIMPLEMENTED();
+ return net::ERR_NOT_IMPLEMENTED;
+ }
+
+ int DisallowAddressReuse() override {
+ NOTIMPLEMENTED();
+ return net::ERR_NOT_IMPLEMENTED;
+ }
- void AllowBroadcast() override { NOTIMPLEMENTED(); }
+ int AllowBroadcast() override {
+ NOTIMPLEMENTED();
+ return net::ERR_NOT_IMPLEMENTED;
+ }
+
+ int DisallowBroadcast() override {
+ NOTIMPLEMENTED();
+ return net::ERR_NOT_IMPLEMENTED;
+ }
int JoinGroup(const net::IPAddressNumber& group_address) const override {
NOTIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698