Index: chrome/common/importer/edge_importer_utils_win.h |
diff --git a/chrome/common/importer/edge_importer_utils_win.h b/chrome/common/importer/edge_importer_utils_win.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..22a186ce8d47e0d844a29869b90886c8d1e061bf |
--- /dev/null |
+++ b/chrome/common/importer/edge_importer_utils_win.h |
@@ -0,0 +1,28 @@ |
+// Copyright 2015 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_EDGE_IMPORTER_UTILS_WIN_H_ |
+#define CHROME_COMMON_IMPORTER_EDGE_IMPORTER_UTILS_WIN_H_ |
+ |
+#include "base/files/file_path.h" |
+#include "base/strings/string16.h" |
+ |
+namespace importer { |
+ |
+// Returns the key to be used in HKCU to look for Edge's settings. |
+// Overridable by tests via IEImporterTestRegistryOverrider. |
+base::string16 GetEdgeSettingsKey(); |
+ |
+// Returns the data path for the Edge browser. Returns an empty path on error. |
+base::FilePath GetEdgeDataFilePath(); |
+ |
+// Returns true if Edge favorites is currently in legacy (pre-Edge 13) mode. |
+bool IsEdgeFavoritesLegacyMode(); |
+ |
+// Returns true if the Edge browser is installed and available for import. |
+bool EdgeImporterCanImport(); |
+ |
+} // namespace importer |
+ |
+#endif // CHROME_COMMON_IMPORTER_EDGE_IMPORTER_UTILS_WIN_H_ |