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

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

Issue 1465183005: Rename mojo::TokenSerializer to mojo::Broker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win component Created 5 years, 1 month 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/simple_token_serializer_win.h
diff --git a/mojo/edk/system/simple_token_serializer_win.h b/mojo/edk/system/simple_token_serializer_win.h
deleted file mode 100644
index 8e910f8b1489c745ba4eca5485e7a30f0649c05d..0000000000000000000000000000000000000000
--- a/mojo/edk/system/simple_token_serializer_win.h
+++ /dev/null
@@ -1,37 +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_SIMPLE_TOKEN_SERIALIZER_WIN_H_
-#define MOJO_EDK_SYSTEM_SIMPLE_TOKEN_SERIALIZER_WIN_H_
-
-#include "mojo/edk/system/token_serializer_win.h"
-
-namespace mojo {
-namespace edk {
-
-// A simple implementation of TokenSerializer interface. This isn't meant for
-// production use (i.e. with multi-process, sandboxes). It's provided for use by
-// unittests.
-// Implementation note: this default implementation works across processes
-// without a sandbox.
-class MOJO_SYSTEM_IMPL_EXPORT SimpleTokenSerializer : public TokenSerializer {
- public:
- SimpleTokenSerializer();
- ~SimpleTokenSerializer() override;
-
- // TokenSerializer implementation:
- void CreatePlatformChannelPair(ScopedPlatformHandle* server,
- ScopedPlatformHandle* client) override;
- void HandleToToken(const PlatformHandle* platform_handles,
- size_t count,
- uint64_t* tokens) override;
- void TokenToHandle(const uint64_t* tokens,
- size_t count,
- PlatformHandle* handles) override;
-};
-
-} // namespace edk
-} // namespace mojo
-
-#endif // MOJO_EDK_SYSTEM_SIMPLE_TOKEN_SERIALIZER_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698