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

Unified Diff: components/sync/driver/sync_service.h

Issue 2343463003: [Sync] Fix namespaces for the sync_sessions component. (Closed)
Patch Set: Fix gn. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/driver/fake_sync_service.cc ('k') | components/sync_sessions/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/sync_service.h
diff --git a/components/sync/driver/sync_service.h b/components/sync/driver/sync_service.h
index 2f536bc46d377b14ae1a6f16ddd604527c46cd46..0ec2b893c8ae24d94d0f08a28d6f89cb5d37a3d7 100644
--- a/components/sync/driver/sync_service.h
+++ b/components/sync/driver/sync_service.h
@@ -36,11 +36,14 @@ struct UserShare;
} // namespace syncer
+namespace sync_sessions {
+class OpenTabsUIDelegate;
+} // namespace sync_sessions
+
namespace sync_driver {
class DataTypeController;
class LocalDeviceInfoProvider;
-class OpenTabsUIDelegate;
class SyncClient;
// UIs that need to prevent Sync startup should hold an instance of this class
@@ -212,7 +215,7 @@ class SyncService : public DataTypeEncryptionHandler {
// Return the active OpenTabsUIDelegate. If sessions is not enabled or not
// currently syncing, returns nullptr.
- virtual OpenTabsUIDelegate* GetOpenTabsUIDelegate() = 0;
+ virtual sync_sessions::OpenTabsUIDelegate* GetOpenTabsUIDelegate() = 0;
// Returns true if OnPassphraseRequired has been called for decryption and
// we have an encrypted data type enabled.
« no previous file with comments | « components/sync/driver/fake_sync_service.cc ('k') | components/sync_sessions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698