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

Unified Diff: components/sync/driver/sync_frontend.h

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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/sync_error_controller.cc ('k') | components/sync/driver/sync_frontend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/sync_frontend.h
diff --git a/components/sync_driver/sync_frontend.h b/components/sync/driver/sync_frontend.h
similarity index 94%
rename from components/sync_driver/sync_frontend.h
rename to components/sync/driver/sync_frontend.h
index c81a253ddca35efd2c6284b12e3f74034fb1a48e..ae2239a33223cb6abcb4ba87218bc518abcfe9b1 100644
--- a/components/sync_driver/sync_frontend.h
+++ b/components/sync/driver/sync_frontend.h
@@ -88,8 +88,7 @@ class SyncFrontend {
const syncer::StatusCounters& counters) = 0;
// The status of the connection to the sync server has changed.
- virtual void OnConnectionStatusChange(
- syncer::ConnectionStatus status) = 0;
+ virtual void OnConnectionStatusChange(syncer::ConnectionStatus status) = 0;
// The syncer requires a passphrase to decrypt sensitive updates. This is
// called when the first sensitive data type is setup by the user and anytime
@@ -118,9 +117,8 @@ class SyncFrontend {
// Until this function is called, observers can assume that the set
// of encrypted types is syncer::Cryptographer::SensitiveTypes() and that
// the encrypt everything flag is false.
- virtual void OnEncryptedTypesChanged(
- syncer::ModelTypeSet encrypted_types,
- bool encrypt_everything) = 0;
+ virtual void OnEncryptedTypesChanged(syncer::ModelTypeSet encrypted_types,
+ bool encrypt_everything) = 0;
// Called after we finish encrypting the current set of encrypted
// types.
@@ -130,8 +128,7 @@ class SyncFrontend {
virtual void OnMigrationNeededForTypes(syncer::ModelTypeSet types) = 0;
// Inform the Frontend that new datatypes are available for registration.
- virtual void OnExperimentsChanged(
- const syncer::Experiments& experiments) = 0;
+ virtual void OnExperimentsChanged(const syncer::Experiments& experiments) = 0;
// Called when the sync cycle returns there is an user actionable error.
virtual void OnActionableError(const syncer::SyncProtocolError& error) = 0;
« no previous file with comments | « components/sync/driver/sync_error_controller.cc ('k') | components/sync/driver/sync_frontend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698