| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UTILITY_IMPORTER_IE_IMPORTER_WIN_H_ | 5 #ifndef CHROME_UTILITY_IMPORTER_IE_IMPORTER_WIN_H_ |
| 6 #define CHROME_UTILITY_IMPORTER_IE_IMPORTER_WIN_H_ | 6 #define CHROME_UTILITY_IMPORTER_IE_IMPORTER_WIN_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 // This function will read the files in the Favorites folder, and store | 70 // This function will read the files in the Favorites folder, and store |
| 71 // the bookmark items in |bookmarks| and favicon information in |favicons|. | 71 // the bookmark items in |bookmarks| and favicon information in |favicons|. |
| 72 void ParseFavoritesFolder(const FavoritesInfo& info, | 72 void ParseFavoritesFolder(const FavoritesInfo& info, |
| 73 BookmarkVector* bookmarks, | 73 BookmarkVector* bookmarks, |
| 74 favicon_base::FaviconUsageDataList* favicons); | 74 favicon_base::FaviconUsageDataList* favicons); |
| 75 | 75 |
| 76 // Determines which version of IE is in use. | 76 // Determines which version of IE is in use. |
| 77 int CurrentIEVersion() const; | 77 int CurrentIEVersion() const; |
| 78 | 78 |
| 79 // Set to true when importing favorites from old Edge on Windows 10. |
| 80 bool edge_import_mode_; |
| 81 |
| 79 // IE does not have source path. It's used in unit tests only for providing a | 82 // IE does not have source path. It's used in unit tests only for providing a |
| 80 // fake source. | 83 // fake source and it's used if importing old Edge favorites on Windows 10. |
| 81 base::FilePath source_path_; | 84 base::FilePath source_path_; |
| 82 | 85 |
| 83 DISALLOW_COPY_AND_ASSIGN(IEImporter); | 86 DISALLOW_COPY_AND_ASSIGN(IEImporter); |
| 84 }; | 87 }; |
| 85 | 88 |
| 86 #endif // CHROME_UTILITY_IMPORTER_IE_IMPORTER_WIN_H_ | 89 #endif // CHROME_UTILITY_IMPORTER_IE_IMPORTER_WIN_H_ |
| OLD | NEW |