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

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

Issue 1676913002: [mojo] Delete third_party/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: let's try that again Created 4 years, 10 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: third_party/mojo/src/mojo/edk/system/message_in_transit_test_utils.h
diff --git a/third_party/mojo/src/mojo/edk/system/message_in_transit_test_utils.h b/third_party/mojo/src/mojo/edk/system/message_in_transit_test_utils.h
deleted file mode 100644
index db6759af9d6bc8e1c58daf67a91011e9852c5258..0000000000000000000000000000000000000000
--- a/third_party/mojo/src/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 THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_
-#define THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "third_party/mojo/src/mojo/edk/system/message_in_transit.h"
-
-namespace mojo {
-namespace system {
-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 system
-} // namespace mojo
-
-#endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698