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

Side by Side Diff: ppapi/cpp/pass_ref.h

Issue 9815025: PPAPI: Clean up documentation for InstanceHandle and PASS_REF (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« ppapi/cpp/instance_handle.h ('K') | « ppapi/cpp/instance_handle.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_CPP_PASS_REF_H_ 5 #ifndef PPAPI_CPP_PASS_REF_H_
6 #define PPAPI_CPP_PASS_REF_H_ 6 #define PPAPI_CPP_PASS_REF_H_
7 7
8 /// @file
9 /// This file defines an annotation for ocnstructors and other functions that
dmichael (off chromium) 2012/03/23 21:05:00 ocnstructors->constructors
jond 2012/03/26 16:43:51 Done.
10 /// take ownership of a pointer.
8 namespace pp { 11 namespace pp {
9 12
10 /// An annotation for constructors and other functions that take ownership of 13 /// An annotation for constructors and other functions that take ownership of
11 /// a pointer. For example, a resource constructor that takes ownership of a 14 /// a pointer. For example, a resource constructor that takes ownership of a
12 /// passed in PP_Resource ref count would take this to differentiate from 15 /// provided <code>PP_Resource</code> ref count would take this enumeration to
13 /// the more typical use case of taking its own ref. 16 /// differentiate from the more typical use case of taking its own reference.
14 enum PassRef { PASS_REF }; 17 enum PassRef { PASS_REF };
15 18
16 } // namespace pp 19 } // namespace pp
17 20
18 #endif // PPAPI_CPP_PASS_REF_H_ 21 #endif // PPAPI_CPP_PASS_REF_H_
OLDNEW
« ppapi/cpp/instance_handle.h ('K') | « ppapi/cpp/instance_handle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698