Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: chrome/browser/sync/glue/synced_window_delegate.h

Issue 480883002: Move session_id.{cc,h} from chrome/browser/sessions to components/sessions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 7
8 #include <set> 8 #include <set>
9 9
10 #include "chrome/browser/sessions/session_id.h" 10 #include "components/sessions/session_id.h"
11 11
12 namespace browser_sync { 12 namespace browser_sync {
13 13
14 class SyncedTabDelegate; 14 class SyncedTabDelegate;
15 15
16 // A SyncedWindowDelegate is used to insulate the sync code from depending 16 // A SyncedWindowDelegate is used to insulate the sync code from depending
17 // directly on Browser and BrowserList. 17 // directly on Browser and BrowserList.
18 class SyncedWindowDelegate { 18 class SyncedWindowDelegate {
19 public: 19 public:
20 // Methods originating from WindowList 20 // Methods originating from WindowList
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Return true if we are currently restoring sessions asynchronously. 65 // Return true if we are currently restoring sessions asynchronously.
66 virtual bool IsSessionRestoreInProgress() const = 0; 66 virtual bool IsSessionRestoreInProgress() const = 0;
67 67
68 protected: 68 protected:
69 virtual ~SyncedWindowDelegate() {} 69 virtual ~SyncedWindowDelegate() {}
70 }; 70 };
71 71
72 } // namespace browser_sync 72 } // namespace browser_sync
73 73
74 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATE_H_ 74 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/synced_tab_delegate.h ('k') | chrome/browser/sync/glue/synced_window_delegate_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698