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

Unified Diff: components/sync_driver/shared_change_processor.h

Issue 303263002: sync: move SharedChangeProcessor to components/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 6 years, 7 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 | « components/sync_driver.gypi ('k') | components/sync_driver/shared_change_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/shared_change_processor.h
diff --git a/chrome/browser/sync/glue/shared_change_processor.h b/components/sync_driver/shared_change_processor.h
similarity index 95%
rename from chrome/browser/sync/glue/shared_change_processor.h
rename to components/sync_driver/shared_change_processor.h
index 7000bd9a18d80fc97c1676f37c08b5db1936a7ff..865f4c43711cf54dcd1575799b7ea07214f134cd 100644
--- a/chrome/browser/sync/glue/shared_change_processor.h
+++ b/components/sync_driver/shared_change_processor.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_H_
-#define CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_H_
+#ifndef COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_
+#define COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_
#include "base/location.h"
#include "base/memory/ref_counted.h"
@@ -18,8 +18,6 @@
#include "sync/api/sync_merge_result.h"
#include "sync/internal_api/public/engine/model_safe_worker.h"
-class ProfileSyncService;
-
namespace syncer {
class SyncableService;
struct UserShare;
@@ -67,7 +65,7 @@ class SharedChangeProcessor
syncer::UserShare* user_share,
DataTypeErrorHandler* error_handler,
syncer::ModelType type,
- const base::WeakPtr<syncer::SyncMergeResult>& merge_result);
+ const base::WeakPtr<syncer::SyncMergeResult>& merge_result);
// Disconnects from the generic change processor. May be called from any
// thread. After this, all attempts to interact with the change processor by
@@ -141,4 +139,4 @@ class SharedChangeProcessor
} // namespace browser_sync
-#endif // CHROME_BROWSER_SYNC_GLUE_SHARED_CHANGE_PROCESSOR_H_
+#endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_H_
« no previous file with comments | « components/sync_driver.gypi ('k') | components/sync_driver/shared_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698