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. 4 5 #ifndef CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_ 6 #define CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_ 7 8 #include "base/basictypes.h" 9 10 namespace base { 11 class FilePath; 12 } 13 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); 21 22 #endif // CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_ 23