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

Unified Diff: chrome/browser/ui/webui/foreign_session_handler.h

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. 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
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 6c48687c2c957f9aeb66d55150d7ef09ce779058..5caa408f1894d70c4e22029cdff082d4cbd03a8f 100644
--- a/chrome/browser/ui/webui/foreign_session_handler.h
+++ b/chrome/browser/ui/webui/foreign_session_handler.h
@@ -5,6 +5,7 @@
#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"
@@ -21,7 +22,7 @@ struct SessionTab;
struct SessionWindow;
}
-namespace sync_driver {
+namespace syncer {
class SyncService;
}
@@ -32,7 +33,7 @@ class PrefRegistrySyncable;
namespace browser_sync {
class ForeignSessionHandler : public content::WebUIMessageHandler,
- public sync_driver::SyncServiceObserver {
+ public syncer::SyncServiceObserver {
public:
// Invalid value, used to note that we don't have a tab or window number.
static const int kInvalidId = -1;
@@ -60,7 +61,7 @@ class ForeignSessionHandler : public content::WebUIMessageHandler,
content::WebUI* web_ui);
private:
- // sync_driver::SyncServiceObserver:
+ // syncer::SyncServiceObserver:
void OnStateChanged() override {}
void OnSyncConfigurationCompleted() override;
void OnForeignSessionUpdated() override;
@@ -90,7 +91,7 @@ class ForeignSessionHandler : public content::WebUIMessageHandler,
void HandleSetForeignSessionCollapsed(const base::ListValue* args);
// ScopedObserver used to observe the ProfileSyncService.
- ScopedObserver<sync_driver::SyncService, sync_driver::SyncServiceObserver>
+ ScopedObserver<syncer::SyncService, syncer::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