diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-11 20:56:22 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-11 20:56:22 +0000 |
commit | 2a3aa7b56211437d70787ebe9da514d288957d5f (patch) | |
tree | ec5e0b87cf79507a409b81064c59d7a3ef2f74ba /ipc/ipc_perftests.cc | |
parent | 307f7bdd33cf295aac89b436982d40d8ba63fc6a (diff) | |
download | chromium_src-2a3aa7b56211437d70787ebe9da514d288957d5f.zip chromium_src-2a3aa7b56211437d70787ebe9da514d288957d5f.tar.gz chromium_src-2a3aa7b56211437d70787ebe9da514d288957d5f.tar.bz2 |
Move IPC tests into anonymous namespaces.
This reduces chances of (very confusing) name collisions between different
tests.
Review URL: https://codereview.chromium.org/11865015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176430 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_perftests.cc')
-rw-r--r-- | ipc/ipc_perftests.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc/ipc_perftests.cc b/ipc/ipc_perftests.cc index b290c16..5b563d1 100644 --- a/ipc/ipc_perftests.cc +++ b/ipc/ipc_perftests.cc @@ -34,6 +34,8 @@ #include "ipc/ipc_switches.h" #include "testing/multiprocess_func_list.h" +namespace { + // This test times the roundtrip IPC message cycle. It is enabled with a // special preprocessor define to enable it instead of the standard IPC // unit tests. This works around some funny termination conditions in the @@ -203,3 +205,5 @@ MULTIPROCESS_IPC_TEST_MAIN(RunReflector) { MessageLoop::current()->Run(); return 0; } + +} // namespace |