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

Unified Diff: mojo/edk/system/message_in_transit_test_utils.h

Issue 1649633002: Remove files that are no longer used in the Port EDK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: mojo/edk/system/message_in_transit_test_utils.h
diff --git a/mojo/edk/system/message_in_transit_test_utils.h b/mojo/edk/system/message_in_transit_test_utils.h
deleted file mode 100644
index 079d27b94eb825c3302f9dde60de3233ccb86de4..0000000000000000000000000000000000000000
--- a/mojo/edk/system/message_in_transit_test_utils.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2015 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 MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_
-#define MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "mojo/edk/system/message_in_transit.h"
-
-namespace mojo {
-namespace edk {
-namespace test {
-
-// Makes a test message. It will be of type
-// |MessageInTransit::Type::ENDPOINT_CLIENT| and subtype
-// |MessageInTransit::Subtype::ENDPOINT_CLIENT_DATA|, and contain data
-// associated with |id| (so that test messages with different |id|s are
-// distinguishable).
-scoped_ptr<MessageInTransit> MakeTestMessage(unsigned id);
-
-// Verifies a test message: ASSERTs that |message| is non-null, and EXPECTs that
-// it looks like a message created using |MakeTestMessage(id)| (see above).
-void VerifyTestMessage(const MessageInTransit* message, unsigned id);
-
-// Checks if |message| looks like a test message created using
-// |MakeTestMessage()|, in which case it returns true and sets |*id|. (Otherwise
-// it returns false and leaves |*id| alone.)
-bool IsTestMessage(MessageInTransit* message, unsigned* id);
-
-} // namespace test
-} // namespace edk
-} // namespace mojo
-
-#endif // MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_
« no previous file with comments | « mojo/edk/system/message_in_transit_queue_unittest.cc ('k') | mojo/edk/system/message_in_transit_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698