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

Unified Diff: chrome/browser/android/foreign_session_helper.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/android/foreign_session_helper.h
diff --git a/chrome/browser/android/foreign_session_helper.h b/chrome/browser/android/foreign_session_helper.h
index 308deb05a03578634129d49317cb58b377a9181f..c47add7aaf0e1c1ddb79fafd21e2d449f027146e 100644
--- a/chrome/browser/android/foreign_session_helper.h
+++ b/chrome/browser/android/foreign_session_helper.h
@@ -21,11 +21,11 @@ namespace browser_sync {
struct SyncedSession;
} // namespace browser_sync
-namespace sync_driver {
+namespace syncer {
class SyncService;
-} // namespace sync_driver
+} // namespace syncer
-class ForeignSessionHelper : public sync_driver::SyncServiceObserver {
+class ForeignSessionHelper : public syncer::SyncServiceObserver {
public:
explicit ForeignSessionHelper(Profile* profile);
void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
@@ -53,7 +53,7 @@ class ForeignSessionHelper : public sync_driver::SyncServiceObserver {
const base::android::JavaParamRef<jobject>& obj,
const base::android::JavaParamRef<jstring>& session_tag);
- // sync_driver::SyncServiceObserver implementation
+ // syncer::SyncServiceObserver implementation
void OnStateChanged() override {}
void OnSyncConfigurationCompleted() override;
void OnForeignSessionUpdated() override;
@@ -68,7 +68,7 @@ class ForeignSessionHelper : public sync_driver::SyncServiceObserver {
Profile* profile_; // weak
base::android::ScopedJavaGlobalRef<jobject> callback_;
- ScopedObserver<sync_driver::SyncService, sync_driver::SyncServiceObserver>
+ ScopedObserver<syncer::SyncService, syncer::SyncServiceObserver>
scoped_observer_;
DISALLOW_COPY_AND_ASSIGN(ForeignSessionHelper);

Powered by Google App Engine
This is Rietveld 408576698