Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1017)

Side by Side Diff: sync/sessions/sync_session_context.cc

Issue 10197004: [Sync] Convert SyncSessionSnapshot to a copy-able class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/sessions/sync_session_context.h ('k') | sync/sync.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « sync/sessions/sync_session_context.h ('k') | sync/sync.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698