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

Unified Diff: sync/internal_api/public/sync_manager.h

Issue 15421011: Use OAuth2 token for sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 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
« no previous file with comments | « sync/engine/syncer_proto_util_unittest.cc ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/public/sync_manager.h
diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h
index 3f961fba84805b68c8d5de974f858490a52c2235..361b02261834c26a94a2478adef6d70feb148ea6 100644
--- a/sync/internal_api/public/sync_manager.h
+++ b/sync/internal_api/public/sync_manager.h
@@ -65,8 +65,6 @@ struct SyncCredentials {
std::string email;
// The raw authentication token's bytes.
std::string sync_token;
- // (optional) The time at which the token was fetched/refreshed.
- base::Time sync_token_time;
};
// SyncManager encapsulates syncable::Directory and serves as the parent of all
@@ -324,7 +322,8 @@ class SYNC_EXPORT SyncManager {
scoped_ptr<InternalComponentsFactory> internal_components_factory,
Encryptor* encryptor,
UnrecoverableErrorHandler* unrecoverable_error_handler,
- ReportUnrecoverableErrorFunction report_unrecoverable_error_function) = 0;
+ ReportUnrecoverableErrorFunction report_unrecoverable_error_function,
+ bool use_oauth2_token) = 0;
// Throw an unrecoverable error from a transaction (mostly used for
// testing).
« no previous file with comments | « sync/engine/syncer_proto_util_unittest.cc ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698