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_SYNCED_WINDOW_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATE_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATE_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 | 9 |
11 #include "chrome/browser/sessions/session_id.h" | 10 #include "chrome/browser/sessions/session_id.h" |
12 | 11 |
13 namespace browser_sync { | 12 namespace browser_sync { |
14 | 13 |
15 class SyncedTabDelegate; | 14 class SyncedTabDelegate; |
16 | 15 |
17 // A SyncedWindowDelegate is used to insulate the sync code from depending | 16 // A SyncedWindowDelegate is used to insulate the sync code from depending |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // Return true if we are currently restoring sessions asynchronously. | 65 // Return true if we are currently restoring sessions asynchronously. |
67 virtual bool IsSessionRestoreInProgress() const = 0; | 66 virtual bool IsSessionRestoreInProgress() const = 0; |
68 | 67 |
69 protected: | 68 protected: |
70 virtual ~SyncedWindowDelegate() {} | 69 virtual ~SyncedWindowDelegate() {} |
71 }; | 70 }; |
72 | 71 |
73 } // namespace browser_sync | 72 } // namespace browser_sync |
74 | 73 |
75 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATE_H_ | 74 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATE_H_ |
OLD | NEW |