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 #include "components/sync/core_impl/debug_info_event_listener.h" | 5 #include "components/sync/engine_impl/debug_info_event_listener.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "components/sync/base/cryptographer.h" | 9 #include "components/sync/base/cryptographer.h" |
10 | 10 |
11 namespace syncer { | 11 namespace syncer { |
12 | 12 |
13 DebugInfoEventListener::DebugInfoEventListener() | 13 DebugInfoEventListener::DebugInfoEventListener() |
14 : events_dropped_(false), | 14 : events_dropped_(false), |
15 cryptographer_has_pending_keys_(false), | 15 cryptographer_has_pending_keys_(false), |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 DVLOG(1) << "DebugInfoEventListener::AddEventToQueue Dropping an old event " | 244 DVLOG(1) << "DebugInfoEventListener::AddEventToQueue Dropping an old event " |
245 << "because of full queue"; | 245 << "because of full queue"; |
246 | 246 |
247 events_.pop_front(); | 247 events_.pop_front(); |
248 events_dropped_ = true; | 248 events_dropped_ = true; |
249 } | 249 } |
250 events_.push_back(event_info); | 250 events_.push_back(event_info); |
251 } | 251 } |
252 | 252 |
253 } // namespace syncer | 253 } // namespace syncer |
OLD | NEW |