1 // Copyright (c) 2012 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.
5 #ifndef PPAPI_CPP_PASS_REF_H_
6 #define PPAPI_CPP_PASS_REF_H_
9 /// This file defines an annotation for constructors and other functions that
10 /// take ownership of a pointer.
13 /// An annotation for constructors and other functions that take ownership of
14 /// a pointer. For example, a resource constructor that takes ownership of a
15 /// provided <code>PP_Resource</code> ref count would take this enumeration to
16 /// differentiate from the more typical use case of taking its own reference.
17 enum PassRef
{ PASS_REF
};
21 #endif // PPAPI_CPP_PASS_REF_H_