summaryrefslogtreecommitdiffstats
path: root/components/sync_driver/invalidation_helper.h
blob: fdde374a989fbe3059a8706ea7571ee60406ab41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2014 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 COMPONENTS_SYNC_DRIVER_INVALIDATION_HELPER_H_
#define COMPONENTS_SYNC_DRIVER_INVALIDATION_HELPER_H_

#include "components/invalidation/public/invalidation_util.h"
#include "google/cacheinvalidation/include/types.h"
#include "sync/internal_api/public/base/model_type.h"

namespace syncer {

bool RealModelTypeToObjectId(ModelType model_type,
                             invalidation::ObjectId* object_id);

ObjectIdSet ModelTypeSetToObjectIdSet(ModelTypeSet model_types);
}

#endif  // COMPONENTS_SYNC_DRIVER_INVALIDATION_HELPER_H_