| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "testing/gtest/include/gtest/gtest.h" | 5 #include "testing/gtest/include/gtest/gtest.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 #include <unknwn.h> | 8 #include <unknwn.h> |
| 9 #include <intshcut.h> | 9 #include <intshcut.h> |
| 10 #include <pstore.h> | 10 #include <pstore.h> |
| 11 #include <urlhist.h> | 11 #include <urlhist.h> |
| 12 #include <shlguid.h> | 12 #include <shlguid.h> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "app/win_util.h" | 15 #include "app/win_util.h" |
| 16 #include "base/file_util.h" | 16 #include "base/file_util.h" |
| 17 #include "base/message_loop.h" | 17 #include "base/message_loop.h" |
| 18 #include "base/path_service.h" | 18 #include "base/path_service.h" |
| 19 #include "base/scoped_comptr_win.h" | 19 #include "base/scoped_comptr_win.h" |
| 20 #include "base/stl_util-inl.h" | 20 #include "base/stl_util-inl.h" |
| 21 #include "chrome/browser/chrome_thread.h" | 21 #include "chrome/browser/chrome_thread.h" |
| 22 #include "chrome/browser/history/history_types.h" | 22 #include "chrome/browser/history/history_types.h" |
| 23 #include "chrome/browser/importer/ie_importer.h" | 23 #include "chrome/browser/importer/ie_importer.h" |
| 24 #include "chrome/browser/importer/importer.h" | 24 #include "chrome/browser/importer/importer.h" |
| 25 #include "chrome/browser/importer/importer_bridge.h" | 25 #include "chrome/browser/importer/importer_bridge.h" |
| 26 #include "chrome/browser/importer/importer_data_types.h" | 26 #include "chrome/common/importer_data_types.h" |
| 27 #include "chrome/browser/password_manager/ie7_password.h" | 27 #include "chrome/browser/password_manager/ie7_password.h" |
| 28 #include "chrome/browser/profile.h" | 28 #include "chrome/browser/profile.h" |
| 29 #include "chrome/browser/search_engines/template_url.h" | 29 #include "chrome/browser/search_engines/template_url.h" |
| 30 #include "chrome/common/chrome_paths.h" | 30 #include "chrome/common/chrome_paths.h" |
| 31 #include "webkit/glue/password_form.h" | 31 #include "webkit/glue/password_form.h" |
| 32 | 32 |
| 33 using importer::FAVORITES; | 33 using importer::FAVORITES; |
| 34 using importer::FIREFOX2; | 34 using importer::FIREFOX2; |
| 35 using importer::FIREFOX3; | 35 using importer::FIREFOX3; |
| 36 using importer::HISTORY; | 36 using importer::HISTORY; |
| (...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 true); | 863 true); |
| 864 } | 864 } |
| 865 | 865 |
| 866 TEST_F(ImporterTest, Firefox35Importer) { | 866 TEST_F(ImporterTest, Firefox35Importer) { |
| 867 bool import_search_engines = false; | 867 bool import_search_engines = false; |
| 868 scoped_refptr<Firefox3Observer> observer = | 868 scoped_refptr<Firefox3Observer> observer = |
| 869 new Firefox3Observer(import_search_engines); | 869 new Firefox3Observer(import_search_engines); |
| 870 Firefox3xImporterTest("firefox35_profile", observer.get(), observer.get(), | 870 Firefox3xImporterTest("firefox35_profile", observer.get(), observer.get(), |
| 871 import_search_engines); | 871 import_search_engines); |
| 872 } | 872 } |
| OLD | NEW |