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

Unified Diff: chrome/browser/sync/glue/bridged_sync_notifier.cc

Issue 9512005: [Sync] Move BridgedSyncNotifier and ChromeSyncNotificationBridge to glue/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 8 years, 10 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/sync/glue/bridged_sync_notifier.cc
diff --git a/chrome/browser/sync/notifier/bridged_sync_notifier.cc b/chrome/browser/sync/glue/bridged_sync_notifier.cc
similarity index 74%
rename from chrome/browser/sync/notifier/bridged_sync_notifier.cc
rename to chrome/browser/sync/glue/bridged_sync_notifier.cc
index f2e72d3a1a735a8430b5264bc6a7baf9e3ba39c5..fd299bdcd6c5cfc1e32302ee1019757ce458dda9 100644
--- a/chrome/browser/sync/notifier/bridged_sync_notifier.cc
+++ b/chrome/browser/sync/glue/bridged_sync_notifier.cc
@@ -2,14 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/sync/notifier/bridged_sync_notifier.h"
+#include "chrome/browser/sync/glue/bridged_sync_notifier.h"
-#include "chrome/browser/sync/notifier/chrome_sync_notification_bridge.h"
+#include "chrome/browser/sync/glue/chrome_sync_notification_bridge.h"
-namespace sync_notifier {
+namespace browser_sync {
BridgedSyncNotifier::BridgedSyncNotifier(
- ChromeSyncNotificationBridge* bridge, SyncNotifier* delegate)
+ ChromeSyncNotificationBridge* bridge,
+ sync_notifier::SyncNotifier* delegate)
: bridge_(bridge), delegate_(delegate) {
DCHECK(bridge_);
DCHECK(delegate_.get());
@@ -18,13 +19,14 @@ BridgedSyncNotifier::BridgedSyncNotifier(
BridgedSyncNotifier::~BridgedSyncNotifier() {
}
-void BridgedSyncNotifier::AddObserver(SyncNotifierObserver* observer) {
+void BridgedSyncNotifier::AddObserver(
+ sync_notifier::SyncNotifierObserver* observer) {
delegate_->AddObserver(observer);
bridge_->AddObserver(observer);
}
void BridgedSyncNotifier::RemoveObserver(
- SyncNotifierObserver* observer) {
+ sync_notifier::SyncNotifierObserver* observer) {
bridge_->RemoveObserver(observer);
delegate_->RemoveObserver(observer);
}
@@ -52,4 +54,4 @@ void BridgedSyncNotifier::SendNotification(
delegate_->SendNotification(changed_types);
}
-} // namespace sync_notifier
+} // namespace browser_sync
« no previous file with comments | « chrome/browser/sync/glue/bridged_sync_notifier.h ('k') | chrome/browser/sync/glue/bridged_sync_notifier_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698