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_BROWSER_IMPORTER_IE_IMPORTER_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_IE_IMPORTER_H_ |
6 #define CHROME_BROWSER_IMPORTER_IE_IMPORTER_H_ | 6 #define CHROME_BROWSER_IMPORTER_IE_IMPORTER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/string16.h" | 14 #include "base/string16.h" |
15 #include "chrome/browser/importer/ie_importer_test_registry_overrider_win.h" | |
16 #include "chrome/browser/importer/importer.h" | 15 #include "chrome/browser/importer/importer.h" |
17 | 16 |
18 struct ImportedBookmarkEntry; | 17 struct ImportedBookmarkEntry; |
19 struct ImportedFaviconUsage; | 18 struct ImportedFaviconUsage; |
20 | 19 |
21 class IEImporter : public Importer { | 20 class IEImporter : public Importer { |
22 public: | 21 public: |
23 IEImporter(); | 22 IEImporter(); |
24 | 23 |
25 // Importer: | 24 // Importer: |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 BookmarkVector* bookmarks, | 74 BookmarkVector* bookmarks, |
76 std::vector<ImportedFaviconUsage>* favicons); | 75 std::vector<ImportedFaviconUsage>* favicons); |
77 | 76 |
78 // Determines which version of IE is in use. | 77 // Determines which version of IE is in use. |
79 int CurrentIEVersion() const; | 78 int CurrentIEVersion() const; |
80 | 79 |
81 // IE does not have source path. It's used in unit tests only for providing a | 80 // IE does not have source path. It's used in unit tests only for providing a |
82 // fake source. | 81 // fake source. |
83 base::FilePath source_path_; | 82 base::FilePath source_path_; |
84 | 83 |
85 // Used to override the registry for IEImporterTests if needed. | |
86 IEImporterTestRegistryOverrider test_registry_overrider_; | |
87 | |
88 DISALLOW_COPY_AND_ASSIGN(IEImporter); | 84 DISALLOW_COPY_AND_ASSIGN(IEImporter); |
89 }; | 85 }; |
90 | 86 |
91 #endif // CHROME_BROWSER_IMPORTER_IE_IMPORTER_H_ | 87 #endif // CHROME_BROWSER_IMPORTER_IE_IMPORTER_H_ |
OLD | NEW |