| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_ | 5 #ifndef CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_ |
| 6 #define CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_ | 6 #define CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include <stdint.h> |
| 9 | 9 |
| 10 namespace base { | 10 namespace base { |
| 11 class FilePath; | 11 class FilePath; |
| 12 } | 12 } |
| 13 | 13 |
| 14 // Does this user account have a Safari Profile and if so, what items | 14 // Does this user account have a Safari Profile and if so, what items |
| 15 // are supported? | 15 // are supported? |
| 16 // in: library_dir - ~/Library or a standin for testing purposes. | 16 // in: library_dir - ~/Library or a standin for testing purposes. |
| 17 // out: services_supported - the service supported for import. | 17 // out: services_supported - the service supported for import. |
| 18 // Returns true if we can import the Safari profile. | 18 // Returns true if we can import the Safari profile. |
| 19 bool SafariImporterCanImport(const base::FilePath& library_dir, | 19 bool SafariImporterCanImport(const base::FilePath& library_dir, |
| 20 uint16* services_supported); | 20 uint16_t* services_supported); |
| 21 | 21 |
| 22 #endif // CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_ | 22 #endif // CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_ |
| OLD | NEW |