| OLD | NEW |
| 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 BASE_AT_EXIT_H_ | 5 #ifndef BASE_AT_EXIT_H_ |
| 6 #define BASE_AT_EXIT_H_ | 6 #define BASE_AT_EXIT_H_ |
| 7 #pragma once | |
| 8 | 7 |
| 9 #include <stack> | 8 #include <stack> |
| 10 | 9 |
| 11 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| 12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 13 #include "base/callback.h" | 12 #include "base/callback.h" |
| 14 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
| 15 | 14 |
| 16 namespace base { | 15 namespace base { |
| 17 | 16 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 #if defined(UNIT_TEST) | 74 #if defined(UNIT_TEST) |
| 76 class ShadowingAtExitManager : public AtExitManager { | 75 class ShadowingAtExitManager : public AtExitManager { |
| 77 public: | 76 public: |
| 78 ShadowingAtExitManager() : AtExitManager(true) {} | 77 ShadowingAtExitManager() : AtExitManager(true) {} |
| 79 }; | 78 }; |
| 80 #endif // defined(UNIT_TEST) | 79 #endif // defined(UNIT_TEST) |
| 81 | 80 |
| 82 } // namespace base | 81 } // namespace base |
| 83 | 82 |
| 84 #endif // BASE_AT_EXIT_H_ | 83 #endif // BASE_AT_EXIT_H_ |
| OLD | NEW |