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 "sync/sessions/sync_session_context.h" | 5 #include "sync/sessions/sync_session_context.h" |
6 | 6 |
7 #include "sync/sessions/debug_info_getter.h" | 7 #include "sync/sessions/debug_info_getter.h" |
8 #include "sync/sessions/session_state.h" | |
9 #include "sync/util/extensions_activity_monitor.h" | 8 #include "sync/util/extensions_activity_monitor.h" |
10 | 9 |
11 namespace browser_sync { | 10 namespace browser_sync { |
12 namespace sessions { | 11 namespace sessions { |
13 | 12 |
14 const unsigned int kMaxMessagesToRecord = 10; | 13 const unsigned int kMaxMessagesToRecord = 10; |
15 const unsigned int kMaxMessageSizeToRecord = 5 * 1024; | 14 const unsigned int kMaxMessageSizeToRecord = 5 * 1024; |
16 | 15 |
17 SyncSessionContext::SyncSessionContext( | 16 SyncSessionContext::SyncSessionContext( |
18 ServerConnectionManager* connection_manager, | 17 ServerConnectionManager* connection_manager, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 for (UnthrottleTimes::const_iterator it = unthrottle_times_.begin(); | 77 for (UnthrottleTimes::const_iterator it = unthrottle_times_.begin(); |
79 it != unthrottle_times_.end(); | 78 it != unthrottle_times_.end(); |
80 ++it) { | 79 ++it) { |
81 types.Put(it->first); | 80 types.Put(it->first); |
82 } | 81 } |
83 return types; | 82 return types; |
84 } | 83 } |
85 | 84 |
86 } // namespace sessions | 85 } // namespace sessions |
87 } // namespace browser_sync | 86 } // namespace browser_sync |
OLD | NEW |