| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <windows.h> | 5 #include <windows.h> |
| 6 #include <string> | 6 #include <string> |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "chrome/test/security_tests/ipc_security_tests.h" | 9 #include "chrome/test/security_tests/ipc_security_tests.h" |
| 10 | 10 |
| 11 namespace { | 11 namespace { |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 } | 183 } |
| 184 | 184 |
| 185 HANDLE thread = ::CreateThread(NULL, 0, PipeServerProc, | 185 HANDLE thread = ::CreateThread(NULL, 0, PipeServerProc, |
| 186 new Context(plugin_pipe), 0, NULL); | 186 new Context(plugin_pipe), 0, NULL); |
| 187 if (NULL == thread) { | 187 if (NULL == thread) { |
| 188 return false; | 188 return false; |
| 189 } | 189 } |
| 190 ::CloseHandle(thread); | 190 ::CloseHandle(thread); |
| 191 return true; | 191 return true; |
| 192 } | 192 } |
| OLD | NEW |