OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "chrome/browser/sync/glue/session_model_associator.h" | 5 #include "chrome/browser/sync/glue/session_model_associator.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "chrome/common/url_constants.h" | 34 #include "chrome/common/url_constants.h" |
35 #include "components/sessions/serialized_navigation_entry.h" | 35 #include "components/sessions/serialized_navigation_entry.h" |
36 #include "components/user_prefs/pref_registry_syncable.h" | 36 #include "components/user_prefs/pref_registry_syncable.h" |
37 #include "content/public/browser/favicon_status.h" | 37 #include "content/public/browser/favicon_status.h" |
38 #include "content/public/browser/navigation_entry.h" | 38 #include "content/public/browser/navigation_entry.h" |
39 #include "content/public/browser/notification_details.h" | 39 #include "content/public/browser/notification_details.h" |
40 #include "content/public/browser/notification_service.h" | 40 #include "content/public/browser/notification_service.h" |
41 #include "sync/api/sync_error.h" | 41 #include "sync/api/sync_error.h" |
42 #include "sync/api/time.h" | 42 #include "sync/api/time.h" |
43 #include "sync/internal_api/public/base/model_type.h" | 43 #include "sync/internal_api/public/base/model_type.h" |
44 #include "sync/internal_api/public/base/model_type_invalidation_map.h" | |
45 #include "sync/internal_api/public/read_node.h" | 44 #include "sync/internal_api/public/read_node.h" |
46 #include "sync/internal_api/public/read_transaction.h" | 45 #include "sync/internal_api/public/read_transaction.h" |
47 #include "sync/internal_api/public/write_node.h" | 46 #include "sync/internal_api/public/write_node.h" |
48 #include "sync/internal_api/public/write_transaction.h" | 47 #include "sync/internal_api/public/write_transaction.h" |
49 #include "sync/protocol/session_specifics.pb.h" | 48 #include "sync/protocol/session_specifics.pb.h" |
50 #include "sync/syncable/directory.h" | 49 #include "sync/syncable/directory.h" |
51 #include "sync/syncable/syncable_read_transaction.h" | 50 #include "sync/syncable/syncable_read_transaction.h" |
52 #include "sync/syncable/syncable_write_transaction.h" | 51 #include "sync/syncable/syncable_write_transaction.h" |
53 #if defined(OS_LINUX) | 52 #if defined(OS_LINUX) |
54 #include "base/linux_util.h" | 53 #include "base/linux_util.h" |
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1203 tab_s->set_tab_id(new_tab_id); | 1202 tab_s->set_tab_id(new_tab_id); |
1204 tab_node.SetSessionSpecifics(session_specifics); | 1203 tab_node.SetSessionSpecifics(session_specifics); |
1205 // Update tab node pool with the new association. | 1204 // Update tab node pool with the new association. |
1206 local_tab_pool_.ReassociateTabNode(tab_node_id, new_tab_id); | 1205 local_tab_pool_.ReassociateTabNode(tab_node_id, new_tab_id); |
1207 } | 1206 } |
1208 } | 1207 } |
1209 } | 1208 } |
1210 } | 1209 } |
1211 | 1210 |
1212 } // namespace browser_sync | 1211 } // namespace browser_sync |
OLD | NEW |