OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_PROXIMITY_AUTH_LOGGING_LOG_BUFFER_H | 5 #ifndef COMPONENTS_PROXIMITY_AUTH_LOGGING_LOG_BUFFER_H |
6 #define COMPONENTS_PROXIMITY_AUTH_LOGGING_LOG_BUFFER_H | 6 #define COMPONENTS_PROXIMITY_AUTH_LOGGING_LOG_BUFFER_H |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <list> | 10 #include <list> |
9 | 11 |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
11 #include "base/macros.h" | 13 #include "base/macros.h" |
12 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
13 #include "base/time/time.h" | 15 #include "base/time/time.h" |
14 | 16 |
15 namespace proximity_auth { | 17 namespace proximity_auth { |
16 | 18 |
17 // Contains logs specific to the Proximity Auth. This buffer has a maximum size | 19 // Contains logs specific to the Proximity Auth. This buffer has a maximum size |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 74 |
73 // List of observers. | 75 // List of observers. |
74 base::ObserverList<Observer> observers_; | 76 base::ObserverList<Observer> observers_; |
75 | 77 |
76 DISALLOW_COPY_AND_ASSIGN(LogBuffer); | 78 DISALLOW_COPY_AND_ASSIGN(LogBuffer); |
77 }; | 79 }; |
78 | 80 |
79 } // namespace proximity_auth | 81 } // namespace proximity_auth |
80 | 82 |
81 #endif // COMPONENTS_PROXIMITY_AUTH_LOGGING_LOG_BUFFER_H | 83 #endif // COMPONENTS_PROXIMITY_AUTH_LOGGING_LOG_BUFFER_H |
OLD | NEW |