Chromium Code Reviews| Index: chrome/browser/sync/engine/syncapi_functions.h |
| diff --git a/chrome/browser/sync/engine/syncapi_functions.h b/chrome/browser/sync/engine/syncapi_functions.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6e68103686e46cc454c1524f1ef46b0e25a60fe1 |
| --- /dev/null |
| +++ b/chrome/browser/sync/engine/syncapi_functions.h |
| @@ -0,0 +1,30 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_FUNCTIONS_H_ |
| +#define CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_FUNCTIONS_H_ |
| +#pragma once |
| + |
| +#include <string> |
| + |
| +#include "chrome/browser/sync/syncable/model_type.h" |
| + |
| +namespace sync_api { |
| + |
| +class BaseTransaction; |
| +class UserShare; |
| +enum PassphraseRequiredReason; |
| + |
|
tim (not reviewing)
2011/08/15 22:53:55
nit - extra newline
|
| + |
| +syncable::ModelTypeSet GetEncryptedTypes( |
| + const sync_api::BaseTransaction* trans); |
| + |
| +// Returns the string representation of a PassphraseRequiredReason value. |
| +std::string PassphraseRequiredReasonToString(PassphraseRequiredReason reason); |
| + |
| +bool InitialSyncEndedForTypes(syncable::ModelTypeSet types, UserShare* share); |
| + |
| +} // namespace sync_api |
| + |
| +#endif // CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_FUNCTIONS_H_ |