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

Unified Diff: chrome/common/ipc_tests.h

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 months 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 | « chrome/common/ipc_test_sink.h ('k') | chrome/common/ipc_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/ipc_tests.h
diff --git a/chrome/common/ipc_tests.h b/chrome/common/ipc_tests.h
deleted file mode 100644
index 36026bfd32ef779a03763d45d447d686c00318c8..0000000000000000000000000000000000000000
--- a/chrome/common/ipc_tests.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_COMMON_IPC_TESTS_H__
-#define CHROME_COMMON_IPC_TESTS_H__
-
-#include "base/multiprocess_test.h"
-#include "base/process.h"
-
-// This unit test uses 3 types of child processes, a regular pipe client,
-// a client reflector and a IPC server used for fuzzing tests.
-enum ChildType {
- TEST_CLIENT,
- TEST_DESCRIPTOR_CLIENT,
- TEST_DESCRIPTOR_CLIENT_SANDBOXED,
- TEST_REFLECTOR,
- FUZZER_SERVER
-};
-
-// The different channel names for the child processes.
-extern const char kTestClientChannel[];
-extern const char kReflectorChannel[];
-extern const char kFuzzerChannel[];
-
-class MessageLoopForIO;
-namespace IPC {
-class Channel;
-} // namespace IPC
-
-//Base class to facilitate Spawning IPC Client processes.
-class IPCChannelTest : public MultiProcessTest {
- protected:
-
- // Create a new MessageLoopForIO For each test.
- virtual void SetUp();
- virtual void TearDown();
-
- // Spawns a child process of the specified type
- base::ProcessHandle SpawnChild(ChildType child_type,
- IPC::Channel *channel);
-
- // Created around each test instantiation.
- MessageLoopForIO *message_loop_;
-};
-
-#endif // CHROME_COMMON_IPC_TESTS_H__
« no previous file with comments | « chrome/common/ipc_test_sink.h ('k') | chrome/common/ipc_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698