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

Side by Side Diff: third_party/cld/base/scoped_ptr.h

Issue 10835019: Fix license headers in a number of files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix case Created 8 years, 4 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 (c) 2006-2009 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 BASE_SCOPED_PTR_H__ 5 #ifndef BASE_SCOPED_PTR_H__
6 #define BASE_SCOPED_PTR_H__ 6 #define BASE_SCOPED_PTR_H__
7 7
8 // This is an implementation designed to match the anticipated future TR2 8 // This is an implementation designed to match the anticipated future TR2
9 // implementation of the scoped_ptr class, and its closely-related brethren, 9 // implementation of the scoped_ptr class, and its closely-related brethren,
10 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr. 10 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
11 // 11 //
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 bool operator==(C* p, const scoped_ptr_malloc<C, FP>& b) { 419 bool operator==(C* p, const scoped_ptr_malloc<C, FP>& b) {
420 return p == b.get(); 420 return p == b.get();
421 } 421 }
422 422
423 template<class C, class FP> inline 423 template<class C, class FP> inline
424 bool operator!=(C* p, const scoped_ptr_malloc<C, FP>& b) { 424 bool operator!=(C* p, const scoped_ptr_malloc<C, FP>& b) {
425 return p != b.get(); 425 return p != b.get();
426 } 426 }
427 427
428 #endif // BASE_SCOPED_PTR_H__ 428 #endif // BASE_SCOPED_PTR_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698