| Index: chrome/browser/sync/internal_api/sync_manager.h
|
| diff --git a/chrome/browser/sync/internal_api/sync_manager.h b/chrome/browser/sync/internal_api/sync_manager.h
|
| index 321a6c69179fed830006e778b5abbf4974e6e557..cc0e462f5c07f25ce346fbec275e412c167f62bf 100644
|
| --- a/chrome/browser/sync/internal_api/sync_manager.h
|
| +++ b/chrome/browser/sync/internal_api/sync_manager.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/callback_forward.h"
|
| +#include "base/time.h"
|
| #include "base/threading/thread_checker.h"
|
| #include "chrome/browser/sync/internal_api/change_record.h"
|
| #include "chrome/browser/sync/internal_api/configure_reason.h"
|
| @@ -56,6 +57,7 @@ enum PassphraseRequiredReason {
|
| // was unsuccessful.
|
| };
|
|
|
| +
|
| // Contains everything needed to talk to and identify a user account.
|
| struct SyncCredentials {
|
| std::string email;
|
| @@ -580,7 +582,16 @@ class SyncManager {
|
| void TriggerOnIncomingNotificationForTest(
|
| syncable::ModelTypeSet model_types);
|
|
|
| + static const int kDefaultNudgeDelayMilliseconds;
|
| + static const int kPreferencesNudgeDelayMilliseconds;
|
| + static const int kPiggybackNudgeDelay;
|
| +
|
| private:
|
| + FRIEND_TEST_ALL_PREFIXES(SyncManagerTest, NudgeDelayTest);
|
| +
|
| + // For unit tests.
|
| + base::TimeDelta GetNudgeDelayTimeDelta(const syncable::ModelType& model_type);
|
| +
|
| base::ThreadChecker thread_checker_;
|
|
|
| // Internal callback of RefreshNigori.
|
|
|