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

Unified Diff: tools/ipc_fuzzer/fuzzer/fuzzer.cc

Issue 2484943004: Remove unused parts of IPC::ChannelHandle. (Closed)
Patch Set: rebase Created 4 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
« no previous file with comments | « ppapi/proxy/ppapi_proxy_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/fuzzer/fuzzer.cc
diff --git a/tools/ipc_fuzzer/fuzzer/fuzzer.cc b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
index caf3cf9d92c3f3e703fb81499dbf517728f5a048..5c335fa603b0df94562860aec2cf70c9ab60b294 100644
--- a/tools/ipc_fuzzer/fuzzer/fuzzer.cc
+++ b/tools/ipc_fuzzer/fuzzer/fuzzer.cc
@@ -1324,16 +1324,7 @@ struct FuzzTraits<IPC::ChannelHandle> {
if (!fuzzer->ShouldGenerate())
return true;
- // TODO(inferno): Add way to generate real channel handles.
-#if defined(OS_WIN)
- HANDLE fake_handle = (HANDLE)(RandU64());
- p->pipe = IPC::ChannelHandle::PipeHandle(fake_handle);
- return true;
-#elif defined(OS_POSIX)
- return
- FuzzParam(&p->name, fuzzer) &&
- FuzzParam(&p->socket, fuzzer);
-#endif
+ return FuzzParam(&p->mojo_handle, fuzzer);
}
};
« no previous file with comments | « ppapi/proxy/ppapi_proxy_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698