Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / sync / glue / invalidation_helper.h
1 // Copyright 2014 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_GLUE_INVALIDATION_HELPER_H_
6 #define CHROME_BROWSER_SYNC_GLUE_INVALIDATION_HELPER_H_
7
8 #include "components/invalidation/invalidation_util.h"
9 #include "google/cacheinvalidation/include/types.h"
10 #include "sync/internal_api/public/base/model_type.h"
11
12 namespace syncer {
13
14 bool RealModelTypeToObjectId(ModelType model_type,
15                              invalidation::ObjectId* object_id);
16
17 ObjectIdSet ModelTypeSetToObjectIdSet(ModelTypeSet model_types);
18 }
19
20 #endif  // CHROME_BROWSER_SYNC_GLUE_INVALIDATION_HELPER_H_