Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / sync / glue / synced_session_util.h
blobc1304cc8e94c1d275334b71830f9efe358578836
1 // Copyright 2015 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.
5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_UTIL_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_UTIL_H_
8 namespace sessions {
9 struct SessionWindow;
12 namespace browser_sync {
14 // Checks whether the window has tabs to sync. If no tabs to sync, it returns
15 // true, false otherwise.
16 bool SessionWindowHasNoTabsToSync(const sessions::SessionWindow& window);
18 } // namespace browser_sync
20 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_UTIL_H_