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

Unified Diff: components/sync/driver/about_sync_util.cc

Issue 2258873003: [Sync] Move sessions/ to engine/cycle/ and rename things to match. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. 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/DEPS ('k') | components/sync/driver/about_sync_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/about_sync_util.cc
diff --git a/components/sync/driver/about_sync_util.cc b/components/sync/driver/about_sync_util.cc
index b49a5c9bade5424272d1257cae3a202961f36546..88427539432a96800ddfa00a959870e1a4a9d843 100644
--- a/components/sync/driver/about_sync_util.cc
+++ b/components/sync/driver/about_sync_util.cc
@@ -14,10 +14,10 @@
#include "components/signin/core/browser/signin_manager_base.h"
#include "components/sync/api/time.h"
#include "components/sync/driver/sync_service.h"
+#include "components/sync/engine/cycle/sync_cycle_snapshot.h"
#include "components/sync/engine/sync_status.h"
#include "components/sync/engine/sync_string_conversions.h"
#include "components/sync/protocol/proto_enum_conversions.h"
-#include "components/sync/sessions/sync_session_snapshot.h"
#include "components/version_info/version_info.h"
using base::DictionaryValue;
@@ -361,8 +361,7 @@ std::unique_ptr<base::DictionaryValue> ConstructAboutInformation(
syncer::SyncStatus full_status;
bool is_status_valid = service->QueryDetailedSyncStatus(&full_status);
bool sync_active = service->IsSyncActive();
- const syncer::sessions::SyncSessionSnapshot& snapshot =
- service->GetLastSessionSnapshot();
+ const syncer::SyncCycleSnapshot& snapshot = service->GetLastCycleSnapshot();
if (is_status_valid)
summary_string.SetValue(service->QuerySyncStatusSummaryString());
« no previous file with comments | « components/sync/driver/DEPS ('k') | components/sync/driver/about_sync_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698