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 25 matching lines...) Expand all Loading... |
36 }; | 36 }; |
37 | 37 |
38 // IE PStore subkey GUID: AutoComplete password & form data. | 38 // IE PStore subkey GUID: AutoComplete password & form data. |
39 static const GUID kPStoreAutocompleteGUID; | 39 static const GUID kPStoreAutocompleteGUID; |
40 | 40 |
41 // A fake GUID for unit test. | 41 // A fake GUID for unit test. |
42 static const GUID kUnittestGUID; | 42 static const GUID kUnittestGUID; |
43 | 43 |
44 FRIEND_TEST_ALL_PREFIXES(ImporterTest, IEImporter); | 44 FRIEND_TEST_ALL_PREFIXES(ImporterTest, IEImporter); |
45 | 45 |
46 virtual ~IEImporter(); | 46 ~IEImporter() override; |
47 | 47 |
48 void ImportFavorites(); | 48 void ImportFavorites(); |
49 | 49 |
50 // Reads history information from COM interface. | 50 // Reads history information from COM interface. |
51 void ImportHistory(); | 51 void ImportHistory(); |
52 | 52 |
53 // Import password for IE6 stored in protected storage. | 53 // Import password for IE6 stored in protected storage. |
54 void ImportPasswordsIE6(); | 54 void ImportPasswordsIE6(); |
55 | 55 |
56 // Import password for IE7 and IE8 stored in Storage2. | 56 // Import password for IE7 and IE8 stored in Storage2. |
(...skipping 20 matching lines...) Expand all Loading... |
77 int CurrentIEVersion() const; | 77 int CurrentIEVersion() const; |
78 | 78 |
79 // IE does not have source path. It's used in unit tests only for providing a | 79 // IE does not have source path. It's used in unit tests only for providing a |
80 // fake source. | 80 // fake source. |
81 base::FilePath source_path_; | 81 base::FilePath source_path_; |
82 | 82 |
83 DISALLOW_COPY_AND_ASSIGN(IEImporter); | 83 DISALLOW_COPY_AND_ASSIGN(IEImporter); |
84 }; | 84 }; |
85 | 85 |
86 #endif // CHROME_UTILITY_IMPORTER_IE_IMPORTER_WIN_H_ | 86 #endif // CHROME_UTILITY_IMPORTER_IE_IMPORTER_WIN_H_ |
OLD | NEW |