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

Unified Diff: components/sync/core/write_transaction.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: 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: components/sync/core/write_transaction.cc
diff --git a/components/sync/core/write_transaction.cc b/components/sync/core/write_transaction.cc
index 45333e433bca979c865002aefdb155c9ff6d0f6b..0e5bff5434c06493a49b9b51168b0fb7f2231443 100644
--- a/components/sync/core/write_transaction.cc
+++ b/components/sync/core/write_transaction.cc
@@ -37,7 +37,7 @@ syncable::BaseTransaction* WriteTransaction::GetWrappedTrans() const {
void WriteTransaction::SetDataTypeContext(
ModelType type,
- SyncChangeProcessor::ContextRefreshStatus refresh_status,
+ syncer::SyncChangeProcessor::ContextRefreshStatus refresh_status,
const std::string& context) {
DCHECK(ProtocolTypes().Has(type));
int field_number = GetSpecificsFieldNumberFromModelType(type);
@@ -54,7 +54,7 @@ void WriteTransaction::SetDataTypeContext(
local_context.set_version(local_context.version() + 1);
local_context.set_context(context);
GetDirectory()->SetDataTypeContext(transaction_, type, local_context);
- if (refresh_status == SyncChangeProcessor::REFRESH_NEEDED) {
+ if (refresh_status == syncer::SyncChangeProcessor::REFRESH_NEEDED) {
DVLOG(1) << "Forcing refresh of type " << ModelTypeToString(type);
// Clear the progress token from the progress markers. Preserve all other
// state, in case a GC directive was present.
« no previous file with comments | « components/sync/core/write_transaction.h ('k') | components/sync/core_impl/attachments/attachment_downloader_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698