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

Unified Diff: chrome/browser/ui/webui/foreign_session_handler.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: chrome/browser/ui/webui/foreign_session_handler.h
diff --git a/chrome/browser/ui/webui/foreign_session_handler.h b/chrome/browser/ui/webui/foreign_session_handler.h
index 5caa408f1894d70c4e22029cdff082d4cbd03a8f..6c48687c2c957f9aeb66d55150d7ef09ce779058 100644
--- a/chrome/browser/ui/webui/foreign_session_handler.h
+++ b/chrome/browser/ui/webui/foreign_session_handler.h
@@ -5,7 +5,6 @@
#ifndef CHROME_BROWSER_UI_WEBUI_FOREIGN_SESSION_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_FOREIGN_SESSION_HANDLER_H_
-#include <string>
#include <vector>
#include "base/macros.h"
@@ -22,7 +21,7 @@ struct SessionTab;
struct SessionWindow;
}
-namespace syncer {
+namespace sync_driver {
class SyncService;
}
@@ -33,7 +32,7 @@ class PrefRegistrySyncable;
namespace browser_sync {
class ForeignSessionHandler : public content::WebUIMessageHandler,
- public syncer::SyncServiceObserver {
+ public sync_driver::SyncServiceObserver {
public:
// Invalid value, used to note that we don't have a tab or window number.
static const int kInvalidId = -1;
@@ -61,7 +60,7 @@ class ForeignSessionHandler : public content::WebUIMessageHandler,
content::WebUI* web_ui);
private:
- // syncer::SyncServiceObserver:
+ // sync_driver::SyncServiceObserver:
void OnStateChanged() override {}
void OnSyncConfigurationCompleted() override;
void OnForeignSessionUpdated() override;
@@ -91,7 +90,7 @@ class ForeignSessionHandler : public content::WebUIMessageHandler,
void HandleSetForeignSessionCollapsed(const base::ListValue* args);
// ScopedObserver used to observe the ProfileSyncService.
- ScopedObserver<syncer::SyncService, syncer::SyncServiceObserver>
+ ScopedObserver<sync_driver::SyncService, sync_driver::SyncServiceObserver>
scoped_observer_;
// The time at which this WebUI was created. Used to calculate how long
« no previous file with comments | « chrome/browser/ui/webui/browsing_history_handler.cc ('k') | chrome/browser/ui/webui/options/browser_options_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698