Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6111)

Unified Diff: chrome/common/importer/safari_importer_utils.h

Issue 19251002: move SafariImporter::CanImport to common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/importer/safari_importer_utils.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/importer/safari_importer_utils.h
diff --git a/chrome/common/importer/safari_importer_utils.h b/chrome/common/importer/safari_importer_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..60c954688e946cc566347c02fd4a7224777fbd60
--- /dev/null
+++ b/chrome/common/importer/safari_importer_utils.h
@@ -0,0 +1,22 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_
+#define CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_
+
+#include "base/basictypes.h"
+
+namespace base {
+class FilePath;
+}
+
+// Does this user account have a Safari Profile and if so, what items
+// are supported?
+// in: library_dir - ~/Library or a standin for testing purposes.
+// out: services_supported - the service supported for import.
+// Returns true if we can import the Safari profile.
+bool SafariImporterCanImport(const base::FilePath& library_dir,
+ uint16* services_supported);
+
+#endif // CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/importer/safari_importer_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698