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

Side by Side Diff: chrome/browser/sync/glue/typed_url_data_type_controller.cc

Issue 408003002: [Sync] Fix namespace for sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/glue/typed_url_data_type_controller.h" 5 #include "chrome/browser/sync/glue/typed_url_data_type_controller.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::UI)); 153 DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::UI));
154 DCHECK_EQ(state(), ASSOCIATING); 154 DCHECK_EQ(state(), ASSOCIATING);
155 DCHECK(backend_); 155 DCHECK(backend_);
156 return profile_sync_factory()->CreateTypedUrlSyncComponents( 156 return profile_sync_factory()->CreateTypedUrlSyncComponents(
157 profile_sync_service(), 157 profile_sync_service(),
158 backend_, 158 backend_,
159 this); 159 this);
160 } 160 }
161 161
162 void TypedUrlDataTypeController::DisconnectProcessor( 162 void TypedUrlDataTypeController::DisconnectProcessor(
163 ChangeProcessor* processor) { 163 sync_driver::ChangeProcessor* processor) {
164 static_cast<TypedUrlChangeProcessor*>(processor)->Disconnect(); 164 static_cast<TypedUrlChangeProcessor*>(processor)->Disconnect();
165 } 165 }
166 166
167 TypedUrlDataTypeController::~TypedUrlDataTypeController() {} 167 TypedUrlDataTypeController::~TypedUrlDataTypeController() {}
168 168
169 } // namespace browser_sync 169 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/typed_url_data_type_controller.h ('k') | chrome/browser/sync/glue/typed_url_model_associator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698