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

Side by Side Diff: native_client_sdk/src/libraries/sdk_util/scoped_ref.h

Issue 19673003: [NaCl SDK] Consistent use of copyright header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 */
5 4
6 #ifndef LIBRARIES_SDK_UTIL_SCOPED_REF_H_ 5 #ifndef LIBRARIES_SDK_UTIL_SCOPED_REF_H_
7 #define LIBRARIES_SDK_UTIL_SCOPED_REF_H_ 6 #define LIBRARIES_SDK_UTIL_SCOPED_REF_H_
8 7
9 #include <stdlib.h> 8 #include <stdlib.h>
10 9
11 #include "sdk_util/macros.h" 10 #include "sdk_util/macros.h"
12 #include "sdk_util/ref_object.h" 11 #include "sdk_util/ref_object.h"
13 12
14 namespace sdk_util { 13 namespace sdk_util {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 77
79 public: 78 public:
80 operator bool_as_func_ptr() const { 79 operator bool_as_func_ptr() const {
81 return (ptr_ != NULL) ? &ScopedRef::bool_as_func_impl : 0; 80 return (ptr_ != NULL) ? &ScopedRef::bool_as_func_impl : 0;
82 } 81 }
83 }; 82 };
84 83
85 } // namespace sdk_util 84 } // namespace sdk_util
86 85
87 #endif // LIBRARIES_SDK_UTIL_SCOPED_REF_H_ 86 #endif // LIBRARIES_SDK_UTIL_SCOPED_REF_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/sdk_util/ref_object.h ('k') | native_client_sdk/src/libraries/sdk_util/simple_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698