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

Unified Diff: mojo/edk/system/raw_channel_win.cc

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/raw_channel_win.cc
diff --git a/mojo/edk/system/raw_channel_win.cc b/mojo/edk/system/raw_channel_win.cc
index 1e27455500c56fdc122b3f2e50db28a4255902fa..fa968a4594d396d591e185faf6fd102c1b8cdb41 100644
--- a/mojo/edk/system/raw_channel_win.cc
+++ b/mojo/edk/system/raw_channel_win.cc
@@ -19,7 +19,7 @@
#include "base/win/windows_version.h"
#include "mojo/edk/embedder/embedder_internal.h"
#include "mojo/edk/embedder/platform_handle.h"
-#include "mojo/edk/system/token_serializer_win.h"
+#include "mojo/edk/system/broker.h"
#include "mojo/edk/system/transport_data.h"
#include "mojo/public/cpp/system/macros.h"
@@ -604,8 +604,7 @@ class RawChannelWin final : public RawChannel {
const uint64_t* tokens =
static_cast<const uint64_t*>(platform_handle_table);
- internal::g_token_serializer->TokenToHandle(
- tokens, num_platform_handles, &rv->at(0));
+ internal::g_broker->TokenToHandle(tokens, num_platform_handles, &rv->at(0));
return rv.Pass();
}
@@ -622,7 +621,7 @@ class RawChannelWin final : public RawChannel {
DCHECK_GT(num_platform_handles, 0u);
DCHECK(platform_handles);
- internal::g_token_serializer->HandleToToken(
+ internal::g_broker->HandleToToken(
&platform_handles[0], num_platform_handles, tokens);
for (size_t i = 0; i < num_platform_handles; i++)
platform_handles[i] = PlatformHandle();

Powered by Google App Engine
This is Rietveld 408576698