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 #ifndef CHROME_BROWSER_SYNC_GLUE_SESSION_MODEL_ASSOCIATOR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SESSION_MODEL_ASSOCIATOR_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SESSION_MODEL_ASSOCIATOR_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SESSION_MODEL_ASSOCIATOR_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/format_macros.h" | 15 #include "base/format_macros.h" |
16 #include "base/gtest_prod_util.h" | 16 #include "base/gtest_prod_util.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "base/stringprintf.h" | 18 #include "base/stringprintf.h" |
19 #include "base/threading/non_thread_safe.h" | 19 #include "base/threading/non_thread_safe.h" |
20 #include "base/time.h" | 20 #include "base/time.h" |
21 #include "base/utf_string_conversions.h" | 21 #include "base/utf_string_conversions.h" |
22 #include "chrome/browser/sessions/session_id.h" | 22 #include "chrome/browser/sessions/session_id.h" |
23 #include "chrome/browser/sessions/session_service.h" | 23 #include "chrome/browser/sessions/session_service.h" |
24 #include "chrome/browser/sessions/session_types.h" | 24 #include "chrome/browser/sessions/session_types.h" |
25 #include "chrome/browser/sync/glue/model_associator.h" | 25 #include "chrome/browser/sync/glue/model_associator.h" |
26 #include "chrome/browser/sync/glue/synced_session_tracker.h" | 26 #include "chrome/browser/sync/glue/synced_session_tracker.h" |
27 #include "chrome/browser/sync/glue/synced_tab_delegate.h" | 27 #include "chrome/browser/sync/glue/synced_tab_delegate.h" |
28 #include "chrome/browser/sync/glue/synced_window_delegate.h" | 28 #include "chrome/browser/sync/glue/synced_window_delegate.h" |
29 #include "chrome/browser/sync/syncable/model_type.h" | 29 #include "sync/syncable/model_type.h" |
30 | 30 |
31 class Profile; | 31 class Profile; |
32 class ProfileSyncService; | 32 class ProfileSyncService; |
33 | 33 |
34 namespace sync_api { | 34 namespace sync_api { |
35 class BaseTransaction; | 35 class BaseTransaction; |
36 class ReadNode; | 36 class ReadNode; |
37 class WriteTransaction; | 37 class WriteTransaction; |
38 } // namespace sync_api | 38 } // namespace sync_api |
39 | 39 |
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 | 465 |
466 // Profile being synced. | 466 // Profile being synced. |
467 const Profile* const profile_; | 467 const Profile* const profile_; |
468 | 468 |
469 DISALLOW_COPY_AND_ASSIGN(SessionModelAssociator); | 469 DISALLOW_COPY_AND_ASSIGN(SessionModelAssociator); |
470 }; | 470 }; |
471 | 471 |
472 } // namespace browser_sync | 472 } // namespace browser_sync |
473 | 473 |
474 #endif // CHROME_BROWSER_SYNC_GLUE_SESSION_MODEL_ASSOCIATOR_H_ | 474 #endif // CHROME_BROWSER_SYNC_GLUE_SESSION_MODEL_ASSOCIATOR_H_ |
OLD | NEW |