| OLD | NEW | 
|    1 // Copyright 2015 The Chromium Authors. All rights reserved. |    1 // Copyright 2015 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 <stdint.h> | 
 |    6  | 
|    5 #include "base/message_loop/message_loop.h" |    7 #include "base/message_loop/message_loop.h" | 
|    6 #include "build/build_config.h" |    8 #include "build/build_config.h" | 
|    7 #include "mojo/message_pump/message_pump_mojo.h" |    9 #include "mojo/message_pump/message_pump_mojo.h" | 
|    8 #include "mojo/public/cpp/bindings/binding.h" |   10 #include "mojo/public/cpp/bindings/binding.h" | 
|    9 #include "mojo/public/cpp/bindings/interface_ptr.h" |   11 #include "mojo/public/cpp/bindings/interface_ptr.h" | 
|   10 #include "mojo/public/cpp/bindings/string.h" |   12 #include "mojo/public/cpp/bindings/string.h" | 
|   11 #include "mojo/public/cpp/system/message_pipe.h" |   13 #include "mojo/public/cpp/system/message_pipe.h" | 
|   12 #include "mojo/public/cpp/test_support/test_support.h" |   14 #include "mojo/public/cpp/test_support/test_support.h" | 
|   13 #include "mojo/public/interfaces/bindings/tests/sample_interfaces.mojom.h" |   15 #include "mojo/public/interfaces/bindings/tests/sample_interfaces.mojom.h" | 
|   14 #include "testing/gtest/include/gtest/gtest.h" |   16 #include "testing/gtest/include/gtest/gtest.h" | 
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  296   // TODO(msw): Fix MOJO_DCHECK logs and EXPECT_DEATH* on Win: crbug.com/535014 |  298   // TODO(msw): Fix MOJO_DCHECK logs and EXPECT_DEATH* on Win: crbug.com/535014 | 
|  297   regex.clear(); |  299   regex.clear(); | 
|  298 #endif  // OS_WIN |  300 #endif  // OS_WIN | 
|  299   EXPECT_DEATH_IF_SUPPORTED(server_impl.DeleteCallback(), regex.c_str()); |  301   EXPECT_DEATH_IF_SUPPORTED(server_impl.DeleteCallback(), regex.c_str()); | 
|  300 #endif  // !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON) |  302 #endif  // !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON) | 
|  301 } |  303 } | 
|  302  |  304  | 
|  303 }  // namespace |  305 }  // namespace | 
|  304 }  // namespace test |  306 }  // namespace test | 
|  305 }  // namespace mojo |  307 }  // namespace mojo | 
| OLD | NEW |