Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_FUNCTIONS_H_ | |
| 6 #define CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_FUNCTIONS_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <string> | |
| 10 | |
| 11 #include "chrome/browser/sync/syncable/model_type.h" | |
| 12 | |
| 13 namespace sync_api { | |
| 14 | |
| 15 class BaseTransaction; | |
| 16 class UserShare; | |
| 17 enum PassphraseRequiredReason; | |
| 18 | |
|
tim (not reviewing)
2011/08/15 22:53:55
nit - extra newline
| |
| 19 | |
| 20 syncable::ModelTypeSet GetEncryptedTypes( | |
| 21 const sync_api::BaseTransaction* trans); | |
| 22 | |
| 23 // Returns the string representation of a PassphraseRequiredReason value. | |
| 24 std::string PassphraseRequiredReasonToString(PassphraseRequiredReason reason); | |
| 25 | |
| 26 bool InitialSyncEndedForTypes(syncable::ModelTypeSet types, UserShare* share); | |
| 27 | |
| 28 } // namespace sync_api | |
| 29 | |
| 30 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCAPI_FUNCTIONS_H_ | |
| OLD | NEW |