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

Unified Diff: chrome/browser/ui/webui/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: 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 98d5c8943724d94ac3fc65ccbe5880d31fee4bd8..c37fa7d078e598a1903458dbc4c446afad2444c1 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 sync_driver {
+namespace syncer {
class SyncService;
-} // namespace sync_driver
+} // namespace syncer
// 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(
- sync_driver::SyncService* service,
+ syncer::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 sync_driver::SyncServiceObserver,
- public browser_sync::ProtocolEventObserver,
+ public syncer::SyncServiceObserver,
+ public syncer::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);
- // sync_driver::SyncServiceObserver implementation.
+ // syncer::SyncServiceObserver implementation.
void OnStateChanged() override;
// ProtocolEventObserver implementation.

Powered by Google App Engine
This is Rietveld 408576698