1 // Copyright 2016 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 #ifndef MOJO_CORE_PORTS_USER_DATA_H_ 6 #define MOJO_CORE_PORTS_USER_DATA_H_ 7 8 #include "base/memory/ref_counted.h" 9 10 namespace mojo { 11 namespace core { 12 namespace ports { 13 14 class UserData : public base::RefCountedThreadSafe<UserData> { 15 protected: 16 friend class base::RefCountedThreadSafe<UserData>; 17 ~UserData()18 virtual ~UserData() {} 19 }; 20 21 } // namespace ports 22 } // namespace core 23 } // namespace mojo 24 25 #endif // MOJO_CORE_PORTS_USER_DATA_H_ 26