Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / ppapi / cpp / pass_ref.h
blob724867421e4eb00c82a898fc8c3edf5803d9a6cd
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_
8 /// @file
9 /// This file defines an annotation for constructors and other functions that
10 /// take ownership of a pointer.
11 namespace pp {
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 };
19 } // namespace pp
21 #endif // PPAPI_CPP_PASS_REF_H_