| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SYNC_TEST_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SESSION_SYNC_TEST_HELPER_H_ |
| 6 #define CHROME_BROWSER_SYNC_GLUE_SESSION_SYNC_TEST_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SESSION_SYNC_TEST_HELPER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "components/sessions/core/session_id.h" | 12 #include "components/sessions/core/session_id.h" |
| 12 | 13 |
| 13 namespace sync_driver { | 14 namespace sync_driver { |
| 14 struct SyncedSession; | 15 struct SyncedSession; |
| 15 } | 16 } |
| 16 | 17 |
| 17 namespace sync_pb { | 18 namespace sync_pb { |
| 18 class SessionSpecifics; | 19 class SessionSpecifics; |
| 19 } | 20 } |
| 20 | 21 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 43 | 44 |
| 44 sync_pb::SessionSpecifics BuildForeignSession( | 45 sync_pb::SessionSpecifics BuildForeignSession( |
| 45 const std::string& tag, | 46 const std::string& tag, |
| 46 const std::vector<SessionID::id_type>& tab_list, | 47 const std::vector<SessionID::id_type>& tab_list, |
| 47 std::vector<sync_pb::SessionSpecifics>* tabs); | 48 std::vector<sync_pb::SessionSpecifics>* tabs); |
| 48 | 49 |
| 49 void Reset(); | 50 void Reset(); |
| 50 | 51 |
| 51 private: | 52 private: |
| 52 int max_tab_node_id_; | 53 int max_tab_node_id_; |
| 54 |
| 53 DISALLOW_COPY_AND_ASSIGN(SessionSyncTestHelper); | 55 DISALLOW_COPY_AND_ASSIGN(SessionSyncTestHelper); |
| 54 }; | 56 }; |
| 55 | 57 |
| 56 } // namespace browser_sync | 58 } // namespace browser_sync |
| 57 | 59 |
| 58 #endif // CHROME_BROWSER_SYNC_GLUE_SESSION_SYNC_TEST_HELPER_H_ | 60 #endif // CHROME_BROWSER_SYNC_GLUE_SESSION_SYNC_TEST_HELPER_H_ |
| OLD | NEW |