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

Unified Diff: sync/engine/commit.h

Issue 93433006: sync: Introduce ModelTypeRegistry and helpers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix memory leak in tests Created 6 years, 11 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
« no previous file with comments | « no previous file | sync/engine/commit.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/commit.h
diff --git a/sync/engine/commit.h b/sync/engine/commit.h
index 4750971bc7cb656545ecb998c764fe5845ae8e08..236b51438ac585d0b85e9800d5575bb08f914afc 100644
--- a/sync/engine/commit.h
+++ b/sync/engine/commit.h
@@ -10,7 +10,6 @@
#include "base/stl_util.h"
#include "sync/base/sync_export.h"
#include "sync/engine/sync_directory_commit_contribution.h"
-#include "sync/engine/sync_directory_commit_contributor.h"
#include "sync/internal_api/public/base/model_type.h"
#include "sync/internal_api/public/engine/model_safe_worker.h"
#include "sync/internal_api/public/util/syncer_error.h"
@@ -24,6 +23,7 @@ class StatusController;
class SyncSession;
}
+class CommitProcessor;
class Syncer;
// This class wraps the actions related to building and executing a single
@@ -47,10 +47,11 @@ class SYNC_EXPORT_PRIVATE Commit {
static Commit* Init(
ModelTypeSet requested_types,
+ ModelTypeSet enabled_types,
size_t max_entries,
const std::string& account_name,
const std::string& cache_guid,
- CommitContributorMap* contributor_map,
+ CommitProcessor* commit_processor,
ExtensionsActivity* extensions_activity);
SyncerError PostAndProcessResponse(
« no previous file with comments | « no previous file | sync/engine/commit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698