• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "base/memory/shared_memory_handle.h"
6 
7 namespace base {
8 
9 SharedMemoryHandle::SharedMemoryHandle(const SharedMemoryHandle& handle) =
10     default;
11 
12 SharedMemoryHandle& SharedMemoryHandle::operator=(
13     const SharedMemoryHandle& handle) = default;
14 
GetGUID() const15 base::UnguessableToken SharedMemoryHandle::GetGUID() const {
16   return guid_;
17 }
18 
GetSize() const19 size_t SharedMemoryHandle::GetSize() const {
20   return size_;
21 }
22 
23 }  // namespace base
24