Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / chrome / common / importer / safari_importer_utils.h
blob60c954688e946cc566347c02fd4a7224777fbd60
1 // Copyright 2013 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_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_
6 #define CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_
8 #include "base/basictypes.h"
10 namespace base {
11 class FilePath;
14 // Does this user account have a Safari Profile and if so, what items
15 // are supported?
16 // in: library_dir - ~/Library or a standin for testing purposes.
17 // out: services_supported - the service supported for import.
18 // Returns true if we can import the Safari profile.
19 bool SafariImporterCanImport(const base::FilePath& library_dir,
20 uint16* services_supported);
22 #endif // CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_