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

Unified Diff: components/ntp_snippets/sessions/tab_delegate_sync_adapter.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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
Index: components/ntp_snippets/sessions/tab_delegate_sync_adapter.h
diff --git a/components/ntp_snippets/sessions/tab_delegate_sync_adapter.h b/components/ntp_snippets/sessions/tab_delegate_sync_adapter.h
index 8796444c6fede0f5a133ef734a28c7c52ef6622d..9a9f79a39742c7bafe238f1edaffbda6c2da52d4 100644
--- a/components/ntp_snippets/sessions/tab_delegate_sync_adapter.h
+++ b/components/ntp_snippets/sessions/tab_delegate_sync_adapter.h
@@ -13,18 +13,18 @@
#include "components/ntp_snippets/sessions/foreign_sessions_suggestions_provider.h"
#include "components/sync/driver/sync_service_observer.h"
-namespace syncer {
+namespace sync_driver {
class SyncService;
-} // namespace syncer
+} // namespace sync_driver
namespace ntp_snippets {
// Adapter that sits on top of SyncService and OpenTabsUIDelegate and provides
// simplified notifications and accessors for foreign tabs data.
-class TabDelegateSyncAdapter : public syncer::SyncServiceObserver,
+class TabDelegateSyncAdapter : public sync_driver::SyncServiceObserver,
public ForeignSessionsProvider {
public:
- explicit TabDelegateSyncAdapter(syncer::SyncService* sync_service);
+ explicit TabDelegateSyncAdapter(sync_driver::SyncService* sync_service);
~TabDelegateSyncAdapter() override;
// ForeignSessionsProvider implementation.
@@ -35,14 +35,14 @@ class TabDelegateSyncAdapter : public syncer::SyncServiceObserver,
const base::Closure& change_callback) override;
private:
- // syncer::SyncServiceObserver implementation.
+ // sync_driver::SyncServiceObserver implementation.
void OnStateChanged() override;
void OnSyncConfigurationCompleted() override;
void OnForeignSessionUpdated() override;
void InvokeCallback();
- syncer::SyncService* sync_service_;
+ sync_driver::SyncService* sync_service_;
base::Closure change_callback_;
DISALLOW_COPY_AND_ASSIGN(TabDelegateSyncAdapter);

Powered by Google App Engine
This is Rietveld 408576698