OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 // The order of these includes is important. | 8 // The order of these includes is important. |
9 #include <windows.h> | 9 #include <windows.h> |
10 #include <unknwn.h> | 10 #include <unknwn.h> |
11 #include <intshcut.h> | 11 #include <intshcut.h> |
12 #include <pstore.h> | 12 #include <pstore.h> |
| 13 #include <shlguid.h> |
13 #include <urlhist.h> | 14 #include <urlhist.h> |
14 #include <shlguid.h> | |
15 #endif | 15 #endif |
16 | 16 |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "app/win/scoped_com_initializer.h" | 19 #include "app/win/scoped_com_initializer.h" |
20 #include "base/compiler_specific.h" | 20 #include "base/compiler_specific.h" |
21 #include "base/file_util.h" | 21 #include "base/file_util.h" |
22 #include "base/message_loop.h" | 22 #include "base/message_loop.h" |
23 #include "base/path_service.h" | 23 #include "base/path_service.h" |
| 24 #include "base/scoped_temp_dir.h" |
24 #include "base/stl_util-inl.h" | 25 #include "base/stl_util-inl.h" |
25 #include "base/string_util.h" | 26 #include "base/string_util.h" |
26 #include "base/utf_string_conversions.h" | 27 #include "base/utf_string_conversions.h" |
27 #include "base/memory/scoped_temp_dir.h" | |
28 #include "chrome/browser/history/history_types.h" | 28 #include "chrome/browser/history/history_types.h" |
29 #include "chrome/browser/importer/importer_bridge.h" | 29 #include "chrome/browser/importer/importer_bridge.h" |
30 #include "chrome/browser/importer/importer_data_types.h" | 30 #include "chrome/browser/importer/importer_data_types.h" |
31 #include "chrome/browser/importer/importer_host.h" | 31 #include "chrome/browser/importer/importer_host.h" |
32 #include "chrome/browser/importer/importer_progress_observer.h" | 32 #include "chrome/browser/importer/importer_progress_observer.h" |
33 #include "chrome/browser/search_engines/template_url.h" | 33 #include "chrome/browser/search_engines/template_url.h" |
34 #include "chrome/common/chrome_paths.h" | 34 #include "chrome/common/chrome_paths.h" |
35 #include "content/browser/browser_thread.h" | 35 #include "content/browser/browser_thread.h" |
36 #include "testing/gtest/include/gtest/gtest.h" | 36 #include "testing/gtest/include/gtest/gtest.h" |
37 #include "webkit/glue/password_form.h" | 37 #include "webkit/glue/password_form.h" |
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 true); | 875 true); |
876 } | 876 } |
877 | 877 |
878 TEST_F(ImporterTest, MAYBE(Firefox35Importer)) { | 878 TEST_F(ImporterTest, MAYBE(Firefox35Importer)) { |
879 bool import_search_engines = false; | 879 bool import_search_engines = false; |
880 scoped_refptr<Firefox3Observer> observer( | 880 scoped_refptr<Firefox3Observer> observer( |
881 new Firefox3Observer(import_search_engines)); | 881 new Firefox3Observer(import_search_engines)); |
882 Firefox3xImporterTest("firefox35_profile", observer.get(), observer.get(), | 882 Firefox3xImporterTest("firefox35_profile", observer.get(), observer.get(), |
883 import_search_engines); | 883 import_search_engines); |
884 } | 884 } |
OLD | NEW |