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

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

Issue 10662035: [Sync] Put everything in sync/api into csync namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 8 years, 6 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/fake_generic_change_processor.cc
diff --git a/chrome/browser/sync/glue/fake_generic_change_processor.cc b/chrome/browser/sync/glue/fake_generic_change_processor.cc
index a7af21b652febf7caede652d819d37e231468115..5ffb7bd3cc68ef7d7a9ad45631d972d8be0c648b 100644
--- a/chrome/browser/sync/glue/fake_generic_change_processor.cc
+++ b/chrome/browser/sync/glue/fake_generic_change_processor.cc
@@ -11,7 +11,8 @@
namespace browser_sync {
FakeGenericChangeProcessor::FakeGenericChangeProcessor()
- : GenericChangeProcessor(NULL, base::WeakPtr<SyncableService>(), NULL),
+ : GenericChangeProcessor(
+ NULL, base::WeakPtr<csync::SyncableService>(), NULL),
sync_model_has_user_created_nodes_(true),
sync_model_has_user_created_nodes_success_(true),
crypto_ready_if_necessary_(true),
@@ -20,11 +21,11 @@ FakeGenericChangeProcessor::FakeGenericChangeProcessor()
FakeGenericChangeProcessor::~FakeGenericChangeProcessor() {}
void FakeGenericChangeProcessor::set_process_sync_changes_error(
- const SyncError& error) {
+ const csync::SyncError& error) {
process_sync_changes_error_ = error;
}
void FakeGenericChangeProcessor::set_get_sync_data_for_type_error(
- const SyncError& error) {
+ const csync::SyncError& error) {
get_sync_data_for_type_error_ = error;
}
void FakeGenericChangeProcessor::set_sync_model_has_user_created_nodes(
@@ -40,14 +41,14 @@ void FakeGenericChangeProcessor::set_crypto_ready_if_necessary(
crypto_ready_if_necessary_ = crypto_ready;
}
-SyncError FakeGenericChangeProcessor::ProcessSyncChanges(
+csync::SyncError FakeGenericChangeProcessor::ProcessSyncChanges(
const tracked_objects::Location& from_here,
- const SyncChangeList& change_list) {
+ const csync::SyncChangeList& change_list) {
return process_sync_changes_error_;
}
-SyncError FakeGenericChangeProcessor::GetSyncDataForType(
- syncable::ModelType type, SyncDataList* current_sync_data) {
+csync::SyncError FakeGenericChangeProcessor::GetSyncDataForType(
+ syncable::ModelType type, csync::SyncDataList* current_sync_data) {
type_ = type;
return get_sync_data_for_type_error_;
}
« no previous file with comments | « chrome/browser/sync/glue/fake_generic_change_processor.h ('k') | chrome/browser/sync/glue/frontend_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698