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

Unified Diff: ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_handler.h

Issue 2388163002: [Sync] Move //components/sync to the syncer namespace, take 2. (Closed)
Patch Set: Rebase. 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: ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_handler.h
diff --git a/ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_handler.h b/ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_handler.h
index 917e063f054440856df298ab6b6de2d9715b6a80..b689468713e110cbe139454893a0ebca981d06e3 100644
--- a/ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_handler.h
+++ b/ios/chrome/browser/ui/webui/sync_internals/sync_internals_message_handler.h
@@ -17,15 +17,15 @@
#include "components/sync/js/js_event_handler.h"
#include "ios/web/public/webui/web_ui_ios_message_handler.h"
-namespace sync_driver {
+namespace syncer {
class SyncService;
-}
+} // namespace syncer
// The implementation for the chrome://sync-internals page.
class SyncInternalsMessageHandler : public web::WebUIIOSMessageHandler,
public syncer::JsEventHandler,
- public sync_driver::SyncServiceObserver,
- public browser_sync::ProtocolEventObserver,
+ public syncer::SyncServiceObserver,
+ public syncer::ProtocolEventObserver,
public syncer::TypeDebugInfoObserver {
public:
SyncInternalsMessageHandler();
@@ -56,7 +56,7 @@ class SyncInternalsMessageHandler : public web::WebUIIOSMessageHandler,
void OnReceivedAllNodes(int request_id,
std::unique_ptr<base::ListValue> nodes);
- // sync_driver::SyncServiceObserver implementation.
+ // syncer::SyncServiceObserver implementation.
void OnStateChanged() override;
// ProtocolEventObserver implementation.
@@ -84,7 +84,7 @@ class SyncInternalsMessageHandler : public web::WebUIIOSMessageHandler,
// onAboutInfoUpdated event.
void SendAboutInfo();
- sync_driver::SyncService* GetSyncService();
+ syncer::SyncService* GetSyncService();
base::WeakPtr<syncer::JsController> js_controller_;

Powered by Google App Engine
This is Rietveld 408576698