| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/sync/sessions/sync_session_context.h" | 5 #include "chrome/browser/sync/sessions/sync_session_context.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chrome_thread.h" | 7 #include "chrome/browser/browser_thread.h" |
| 8 #include "chrome/browser/sync/util/extensions_activity_monitor.h" | 8 #include "chrome/browser/sync/util/extensions_activity_monitor.h" |
| 9 #include "chrome/browser/sync/sessions/session_state.h" | 9 #include "chrome/browser/sync/sessions/session_state.h" |
| 10 | 10 |
| 11 namespace browser_sync { | 11 namespace browser_sync { |
| 12 namespace sessions { | 12 namespace sessions { |
| 13 | 13 |
| 14 SyncSessionContext::SyncSessionContext( | 14 SyncSessionContext::SyncSessionContext( |
| 15 ServerConnectionManager* connection_manager, | 15 ServerConnectionManager* connection_manager, |
| 16 syncable::DirectoryManager* directory_manager, | 16 syncable::DirectoryManager* directory_manager, |
| 17 ModelSafeWorkerRegistrar* model_safe_worker_registrar) | 17 ModelSafeWorkerRegistrar* model_safe_worker_registrar) |
| (...skipping 14 matching lines...) Expand all Loading... |
| 32 } | 32 } |
| 33 } | 33 } |
| 34 | 34 |
| 35 void SyncSessionContext::set_last_snapshot( | 35 void SyncSessionContext::set_last_snapshot( |
| 36 const SyncSessionSnapshot& snapshot) { | 36 const SyncSessionSnapshot& snapshot) { |
| 37 previous_session_snapshot_.reset(new SyncSessionSnapshot(snapshot)); | 37 previous_session_snapshot_.reset(new SyncSessionSnapshot(snapshot)); |
| 38 } | 38 } |
| 39 | 39 |
| 40 } // namespace sessions | 40 } // namespace sessions |
| 41 } // namespace browser_sync | 41 } // namespace browser_sync |
| OLD | NEW |