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

Unified Diff: chrome/browser/sync/glue/typed_url_model_associator.h

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address 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/typed_url_model_associator.h
diff --git a/chrome/browser/sync/glue/typed_url_model_associator.h b/chrome/browser/sync/glue/typed_url_model_associator.h
index 0127cf08e04f1c0d7346adfd2f77a3ec283e2d3c..66cfc84cb86ae8de6754c3738caf8df71114cb67 100644
--- a/chrome/browser/sync/glue/typed_url_model_associator.h
+++ b/chrome/browser/sync/glue/typed_url_model_associator.h
@@ -28,7 +28,7 @@ class HistoryBackend;
class URLRow;
};
-namespace csync {
+namespace syncer {
class WriteNode;
class WriteTransaction;
};
@@ -58,10 +58,10 @@ class TypedUrlModelAssociator : public AssociatorInterface {
// AssociatorInterface implementation.
//
// Iterates through the sync model looking for matched pairs of items.
- virtual csync::SyncError AssociateModels() OVERRIDE;
+ virtual syncer::SyncError AssociateModels() OVERRIDE;
// Clears all associations.
- virtual csync::SyncError DisassociateModels() OVERRIDE;
+ virtual syncer::SyncError DisassociateModels() OVERRIDE;
// Called from the main thread, to abort the currently active model
// association (for example, if we are shutting down).
@@ -74,7 +74,7 @@ class TypedUrlModelAssociator : public AssociatorInterface {
virtual bool CryptoReadyIfNecessary() OVERRIDE;
// Delete all typed url nodes.
- bool DeleteAllNodes(csync::WriteTransaction* trans);
+ bool DeleteAllNodes(syncer::WriteTransaction* trans);
void WriteToHistoryBackend(const history::URLRows* new_urls,
const TypedUrlUpdateVector* updated_urls,
@@ -127,7 +127,7 @@ class TypedUrlModelAssociator : public AssociatorInterface {
std::vector<history::VisitInfo>* new_visits);
static void WriteToSyncNode(const history::URLRow& url,
const history::VisitVector& visits,
- csync::WriteNode* node);
+ syncer::WriteNode* node);
// Diffs the set of visits between the history DB and the sync DB, using the
// sync DB as the canonical copy. Result is the set of |new_visits| and
@@ -173,7 +173,7 @@ class TypedUrlModelAssociator : public AssociatorInterface {
private:
// Helper routine that actually does the work of associating models.
- csync::SyncError DoAssociateModels();
+ syncer::SyncError DoAssociateModels();
// Helper function that determines if we should ignore a URL for the purposes
// of sync, because it contains invalid data or is import-only.
« no previous file with comments | « chrome/browser/sync/glue/typed_url_data_type_controller.cc ('k') | chrome/browser/sync/glue/typed_url_model_associator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698