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

Side by Side Diff: chrome/browser/sync/internal_api/syncapi_functions.h

Issue 7633077: Refactor syncapi.h (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Set of patches to refactor syncapi.h Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698