OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/utility/importer/importer_creator.h" | 5 #include "chrome/utility/importer/importer_creator.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "build/build_config.h" |
8 #include "chrome/utility/importer/bookmarks_file_importer.h" | 9 #include "chrome/utility/importer/bookmarks_file_importer.h" |
9 #include "chrome/utility/importer/firefox_importer.h" | 10 #include "chrome/utility/importer/firefox_importer.h" |
10 | 11 |
11 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
12 #include "chrome/common/importer/edge_importer_utils_win.h" | 13 #include "chrome/common/importer/edge_importer_utils_win.h" |
13 #include "chrome/utility/importer/edge_importer_win.h" | 14 #include "chrome/utility/importer/edge_importer_win.h" |
14 #include "chrome/utility/importer/ie_importer_win.h" | 15 #include "chrome/utility/importer/ie_importer_win.h" |
15 #endif | 16 #endif |
16 | 17 |
17 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
(...skipping 24 matching lines...) Expand all Loading... |
42 case TYPE_SAFARI: | 43 case TYPE_SAFARI: |
43 return new SafariImporter(base::mac::GetUserLibraryPath()); | 44 return new SafariImporter(base::mac::GetUserLibraryPath()); |
44 #endif | 45 #endif |
45 default: | 46 default: |
46 NOTREACHED(); | 47 NOTREACHED(); |
47 return nullptr; | 48 return nullptr; |
48 } | 49 } |
49 } | 50 } |
50 | 51 |
51 } // namespace importer | 52 } // namespace importer |
OLD | NEW |