| 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 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNCED_SESSION_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNCED_SESSION_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNCED_SESSION_H_ | 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNCED_SESSION_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "components/sessions/session_id.h" | 12 #include "components/sessions/core/session_id.h" |
| 13 #include "components/sessions/session_types.h" | 13 #include "components/sessions/core/session_types.h" |
| 14 #include "sync/protocol/session_specifics.pb.h" | 14 #include "sync/protocol/session_specifics.pb.h" |
| 15 | 15 |
| 16 namespace sessions { | 16 namespace sessions { |
| 17 struct SessionWindow; | 17 struct SessionWindow; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace sync_driver { | 20 namespace sync_driver { |
| 21 | 21 |
| 22 // Defines a synced session for use by session sync. A synced session is a | 22 // Defines a synced session for use by session sync. A synced session is a |
| 23 // list of windows along with a unique session identifer (tag) and meta-data | 23 // list of windows along with a unique session identifer (tag) and meta-data |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 // does not create SessionTab protobufs. | 85 // does not create SessionTab protobufs. |
| 86 sync_pb::SessionHeader ToSessionHeader() const; | 86 sync_pb::SessionHeader ToSessionHeader() const; |
| 87 | 87 |
| 88 private: | 88 private: |
| 89 DISALLOW_COPY_AND_ASSIGN(SyncedSession); | 89 DISALLOW_COPY_AND_ASSIGN(SyncedSession); |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace sync_driver | 92 } // namespace sync_driver |
| 93 | 93 |
| 94 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNCED_SESSION_H_ | 94 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNCED_SESSION_H_ |
| OLD | NEW |