OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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_EDGE_IMPORTER_UTILS_WIN_H_ |
| 6 #define CHROME_COMMON_IMPORTER_EDGE_IMPORTER_UTILS_WIN_H_ |
| 7 |
| 8 #include "base/files/file_path.h" |
| 9 #include "base/strings/string16.h" |
| 10 |
| 11 namespace importer { |
| 12 |
| 13 // Returns the key to be used in HKCU to look for Edge's settings. |
| 14 // Overridable by tests via IEImporterTestRegistryOverrider. |
| 15 base::string16 GetEdgeSettingsKey(); |
| 16 |
| 17 // Returns the data path for the Edge browser. Returns an empty path on error. |
| 18 base::FilePath GetEdgeDataFilePath(); |
| 19 |
| 20 // Returns true if Edge favorites is currently in legacy (pre-Edge 13) mode. |
| 21 bool IsEdgeFavoritesLegacyMode(); |
| 22 |
| 23 // Returns true if the Edge browser is installed and available for import. |
| 24 bool EdgeImporterCanImport(); |
| 25 |
| 26 } // namespace importer |
| 27 |
| 28 #endif // CHROME_COMMON_IMPORTER_EDGE_IMPORTER_UTILS_WIN_H_ |
OLD | NEW |