Sync ModelTypeController: Rename delegate_on_disk/delegate_in_memory
These have evolved to mean something different, so those names weren't
appropriate anymore. They're now called delegate_for_full_sync_mode/
delegate_for_transport_mode.
Similarly, the StorageOption enum is renamed to SyncMode and its
entries from STORAGE_ON_DISK/STORAGE_IN_MEMORY to kFull/kTransportOnly.
TBRing trivial changes (renaming some parameters) in
autofill_wallet_model_type_controller.h/cc
[email protected]
Bug: 999980
Change-Id: I21ecfb6620ac42d323b91fc284e0593d19ff4379
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1795605
Commit-Queue: Marc Treib <[email protected]>
Reviewed-by: Mohamed Amir Yosef <[email protected]>
Reviewed-by: Mikel Astiz <[email protected]>
Cr-Commit-Position: refs/heads/master@{#697552}
diff --git a/components/sync/driver/configure_context.h b/components/sync/driver/configure_context.h
index b144a526..ffd9315 100644
--- a/components/sync/driver/configure_context.h
+++ b/components/sync/driver/configure_context.h
@@ -7,7 +7,7 @@
#include <string>
-#include "components/sync/base/storage_option.h"
+#include "components/sync/base/sync_mode.h"
#include "components/sync/engine/configure_reason.h"
#include "google_apis/gaia/core_account_id.h"
@@ -22,7 +22,7 @@
struct ConfigureContext {
CoreAccountId authenticated_account_id;
std::string cache_guid;
- StorageOption storage_option = STORAGE_ON_DISK;
+ SyncMode sync_mode = SyncMode::kFull;
ConfigureReason reason = CONFIGURE_REASON_UNKNOWN;
base::Time configuration_start_time;
// TODO(mastiz): Consider adding |requested_types| here, but currently there