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"
14 // Does this user account have a Safari Profile and if so, what items
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_