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

Side by Side Diff: components/sync_sessions/synced_tab_delegate.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 (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 COMPONENTS_SYNC_SESSIONS_SYNCED_TAB_DELEGATE_H__ 5 #ifndef COMPONENTS_SYNC_SESSIONS_SYNCED_TAB_DELEGATE_H__
6 #define COMPONENTS_SYNC_SESSIONS_SYNCED_TAB_DELEGATE_H__ 6 #define COMPONENTS_SYNC_SESSIONS_SYNCED_TAB_DELEGATE_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "components/sessions/core/serialized_navigation_entry.h" 11 #include "components/sessions/core/serialized_navigation_entry.h"
12 #include "components/sessions/core/session_id.h" 12 #include "components/sessions/core/session_id.h"
13 #include "ui/base/page_transition_types.h" 13 #include "ui/base/page_transition_types.h"
14 #include "url/gurl.h" 14 #include "url/gurl.h"
15 15
16 class Profile;
17
18 namespace sync_sessions { 16 namespace sync_sessions {
19 class SyncSessionsClient; 17 class SyncSessionsClient;
20 } 18 }
21 19
22 namespace sync_sessions { 20 namespace sync_sessions {
23 21
24 // A SyncedTabDelegate is used to insulate the sync code from depending 22 // A SyncedTabDelegate is used to insulate the sync code from depending
25 // directly on WebContents, NavigationController, and the extensions TabHelper. 23 // directly on WebContents, NavigationController, and the extensions TabHelper.
26 class SyncedTabDelegate { 24 class SyncedTabDelegate {
27 public: 25 public:
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // tab should be preserved. 61 // tab should be preserved.
64 virtual bool IsPlaceholderTab() const = 0; 62 virtual bool IsPlaceholderTab() const = 0;
65 63
66 protected: 64 protected:
67 SyncedTabDelegate(); 65 SyncedTabDelegate();
68 }; 66 };
69 67
70 } // namespace sync_sessions 68 } // namespace sync_sessions
71 69
72 #endif // COMPONENTS_SYNC_SESSIONS_SYNCED_TAB_DELEGATE_H__ 70 #endif // COMPONENTS_SYNC_SESSIONS_SYNCED_TAB_DELEGATE_H__
OLDNEW
« no previous file with comments | « components/sync_sessions/sessions_sync_manager.h ('k') | components/test_runner/mock_credential_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698