| 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_INTERNAL_API_SYNCAPI_FUNCTIONS_H_ |
| 6 #define CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_FUNCTIONS_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <string> |
| 10 |
| 11 #include "chrome/browser/sync/syncable/model_type.h" |
| 12 #include "chrome/browser/sync/internal_api/sync_manager.h" |
| 13 |
| 14 namespace sync_api { |
| 15 |
| 16 class BaseTransaction; |
| 17 class UserShare; |
| 18 |
| 19 syncable::ModelTypeSet GetEncryptedTypes( |
| 20 const sync_api::BaseTransaction* trans); |
| 21 |
| 22 // Returns the string representation of a PassphraseRequiredReason value. |
| 23 std::string PassphraseRequiredReasonToString(PassphraseRequiredReason reason); |
| 24 |
| 25 bool InitialSyncEndedForTypes(syncable::ModelTypeSet types, UserShare* share); |
| 26 |
| 27 } // namespace sync_api |
| 28 |
| 29 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_SYNCAPI_FUNCTIONS_H_ |
| OLD | NEW |