OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_FIREFOX3_IMPORTER_H_ | 5 #ifndef CHROME_BROWSER_IMPORTER_FIREFOX3_IMPORTER_H_ |
6 #define CHROME_BROWSER_FIREFOX3_IMPORTER_H_ | 6 #define CHROME_BROWSER_IMPORTER_FIREFOX3_IMPORTER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "chrome/browser/importer.h" | 13 #include "chrome/browser/importer/importer.h" |
14 #include "chrome/common/sqlite_utils.h" | 14 #include "chrome/common/sqlite_utils.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 | 16 |
17 // Importer for Mozilla Firefox 3. | 17 // Importer for Mozilla Firefox 3. |
18 // Firefox 3 stores its persistent information in a new system called places. | 18 // Firefox 3 stores its persistent information in a new system called places. |
19 // http://wiki.mozilla.org/Places | 19 // http://wiki.mozilla.org/Places |
20 class Firefox3Importer : public Importer { | 20 class Firefox3Importer : public Importer { |
21 public: | 21 public: |
22 Firefox3Importer() { } | 22 Firefox3Importer() { } |
23 virtual ~Firefox3Importer() { } | 23 virtual ~Firefox3Importer() { } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 const FaviconMap& favicon_map, | 74 const FaviconMap& favicon_map, |
75 std::vector<history::ImportedFavIconUsage>* favicons); | 75 std::vector<history::ImportedFavIconUsage>* favicons); |
76 | 76 |
77 ProfileWriter* writer_; | 77 ProfileWriter* writer_; |
78 std::wstring source_path_; | 78 std::wstring source_path_; |
79 std::wstring app_path_; | 79 std::wstring app_path_; |
80 | 80 |
81 DISALLOW_EVIL_CONSTRUCTORS(Firefox3Importer); | 81 DISALLOW_EVIL_CONSTRUCTORS(Firefox3Importer); |
82 }; | 82 }; |
83 | 83 |
84 #endif // CHROME_BROWSER_FIREFOX3_IMPORTER_H_ | 84 #endif // CHROME_BROWSER_IMPORTER_FIREFOX3_IMPORTER_H_ |
85 | 85 |
OLD | NEW |