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

Side by Side Diff: components/sync_driver/glue/synced_window_delegate.h

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
OLDNEW
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_WINDOW_DELEGATE_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNCED_WINDOW_DELEGATE_H_
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNCED_WINDOW_DELEGATE_H_ 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNCED_WINDOW_DELEGATE_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "components/sessions/session_id.h" 10 #include "components/sessions/core/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 Browser. 20 // Methods originating from Browser.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // Return true if this window should be considered for syncing. 61 // Return true if this window should be considered for syncing.
62 virtual bool ShouldSync() const = 0; 62 virtual bool ShouldSync() const = 0;
63 63
64 protected: 64 protected:
65 virtual ~SyncedWindowDelegate() {} 65 virtual ~SyncedWindowDelegate() {}
66 }; 66 };
67 67
68 } // namespace browser_sync 68 } // namespace browser_sync
69 69
70 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNCED_WINDOW_DELEGATE_H_ 70 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNCED_WINDOW_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/sync_driver/glue/synced_session.h ('k') | components/sync_driver/open_tabs_ui_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698