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

Unified Diff: chrome/browser/ui/webui/sync_internals_message_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/sync_internals_message_handler.h
diff --git a/chrome/browser/ui/webui/sync_internals_message_handler.h b/chrome/browser/ui/webui/sync_internals_message_handler.h
index c37fa7d078e598a1903458dbc4c446afad2444c1..98d5c8943724d94ac3fc65ccbe5880d31fee4bd8 100644
--- a/chrome/browser/ui/webui/sync_internals_message_handler.h
+++ b/chrome/browser/ui/webui/sync_internals_message_handler.h
@@ -26,9 +26,9 @@ namespace browser_sync {
class ProfileSyncService;
} // namespace browser_sync
-namespace syncer {
+namespace sync_driver {
class SyncService;
-} // namespace syncer
+} // namespace sync_driver
// Interface to abstract away the creation of the about-sync value dictionary.
class AboutSyncDataExtractor {
@@ -36,7 +36,7 @@ class AboutSyncDataExtractor {
// Given state about sync, extracts various interesting fields and populates
// a tree of base::Value objects.
virtual std::unique_ptr<base::DictionaryValue> ConstructAboutInformation(
- syncer::SyncService* service,
+ sync_driver::SyncService* service,
SigninManagerBase* signin) = 0;
virtual ~AboutSyncDataExtractor() {}
};
@@ -44,8 +44,8 @@ class AboutSyncDataExtractor {
// The implementation for the chrome://sync-internals page.
class SyncInternalsMessageHandler : public content::WebUIMessageHandler,
public syncer::JsEventHandler,
- public syncer::SyncServiceObserver,
- public syncer::ProtocolEventObserver,
+ public sync_driver::SyncServiceObserver,
+ public browser_sync::ProtocolEventObserver,
public syncer::TypeDebugInfoObserver {
public:
SyncInternalsMessageHandler();
@@ -76,7 +76,7 @@ class SyncInternalsMessageHandler : public content::WebUIMessageHandler,
void OnReceivedAllNodes(int request_id,
std::unique_ptr<base::ListValue> nodes);
- // syncer::SyncServiceObserver implementation.
+ // sync_driver::SyncServiceObserver implementation.
void OnStateChanged() override;
// ProtocolEventObserver implementation.

Powered by Google App Engine
This is Rietveld 408576698