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

Unified Diff: base/memory/shared_memory.cc

Issue 2873433004: Replace SharedMemory::UniqueID usages with SharedMemoryHandle's guid (Closed)
Patch Set: Address on reviews Created 3 years, 7 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: base/memory/shared_memory.cc
diff --git a/base/memory/shared_memory.cc b/base/memory/shared_memory.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0c945e930386148d0ee80b076a2660990d4a5ae4
--- /dev/null
+++ b/base/memory/shared_memory.cc
@@ -0,0 +1,13 @@
+// Copyright 2017 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.
+
+#include "base/memory/shared_memory.h"
+
+namespace base {
+
+base::UnguessableToken SharedMemory::GetGUID() const {
Primiano Tucci (use gerrit) 2017/05/10 18:33:55 out of curiosity, why this is not an inline getter
hajimehoshi 2017/05/11 10:26:00 I thought this used indirect way to get handle rat
+ return handle().GetGUID();
+}
+
+} // namespace base

Powered by Google App Engine
This is Rietveld 408576698