Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef BASE_MEMORY_SCOPED_POLICY_H_ | |
| 6 #define BASE_MEMORY_SCOPED_POLICY_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 namespace base { | |
| 10 | |
|
Mark Mentovai
2012/06/01 03:10:32
Eliminate this blank line.
sail
2012/06/01 03:19:03
Done.
| |
| 11 namespace scoped_policy { | |
| 12 | |
| 13 // Defines the ownership policy for a scoped object. | |
| 14 enum OwnershipPolicy { | |
| 15 // The scoped object takes ownership of an object by taking over an existing | |
| 16 // ownership claim. | |
| 17 ASSUME, | |
| 18 // The scoped object will retain the the object and any initial ownership is | |
|
Mark Mentovai
2012/06/01 03:10:32
Blank line before.
sail
2012/06/01 03:19:03
Done.
| |
| 19 // not changed. | |
| 20 RETAIN | |
| 21 }; | |
| 22 | |
| 23 } // namespace scoped_policy | |
| 24 | |
|
Mark Mentovai
2012/06/01 03:10:32
Eliminate this blank line too.
sail
2012/06/01 03:19:03
Done.
| |
| 25 } // namespace base | |
| 26 | |
| 27 #endif // BASE_MEMORY_SCOPED_POLICY_H_ | |
| OLD | NEW |