Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: chrome/test/base/ui_test_utils.cc

Issue 253753005: Move bookmarks' production code to components/bookmarks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@367656
Patch Set: Fix compilation for win_chromium_x64_rel Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | components/bookmarks.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "chrome/test/base/ui_test_utils.h" 5 #include "chrome/test/base/ui_test_utils.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #endif 9 #endif
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/file_util.h" 15 #include "base/file_util.h"
16 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
17 #include "base/json/json_reader.h" 17 #include "base/json/json_reader.h"
18 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
19 #include "base/memory/scoped_ptr.h" 19 #include "base/memory/scoped_ptr.h"
20 #include "base/path_service.h" 20 #include "base/path_service.h"
21 #include "base/prefs/pref_service.h" 21 #include "base/prefs/pref_service.h"
22 #include "base/strings/stringprintf.h" 22 #include "base/strings/stringprintf.h"
23 #include "base/strings/utf_string_conversions.h" 23 #include "base/strings/utf_string_conversions.h"
24 #include "base/test/test_timeouts.h" 24 #include "base/test/test_timeouts.h"
25 #include "base/time/time.h" 25 #include "base/time/time.h"
26 #include "base/values.h" 26 #include "base/values.h"
27 #include "chrome/browser/autocomplete/autocomplete_controller.h" 27 #include "chrome/browser/autocomplete/autocomplete_controller.h"
28 #include "chrome/browser/bookmarks/bookmark_model.h"
29 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 28 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
30 #include "chrome/browser/browser_process.h" 29 #include "chrome/browser/browser_process.h"
31 #include "chrome/browser/chrome_notification_types.h" 30 #include "chrome/browser/chrome_notification_types.h"
32 #include "chrome/browser/devtools/devtools_window.h" 31 #include "chrome/browser/devtools/devtools_window.h"
33 #include "chrome/browser/extensions/extension_action.h" 32 #include "chrome/browser/extensions/extension_action.h"
34 #include "chrome/browser/history/history_service_factory.h" 33 #include "chrome/browser/history/history_service_factory.h"
35 #include "chrome/browser/profiles/profile.h" 34 #include "chrome/browser/profiles/profile.h"
36 #include "chrome/browser/search_engines/template_url_service.h" 35 #include "chrome/browser/search_engines/template_url_service.h"
37 #include "chrome/browser/search_engines/template_url_service_test_util.h" 36 #include "chrome/browser/search_engines/template_url_service_test_util.h"
38 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h" 37 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h"
39 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" 38 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h"
40 #include "chrome/browser/ui/browser.h" 39 #include "chrome/browser/ui/browser.h"
41 #include "chrome/browser/ui/browser_commands.h" 40 #include "chrome/browser/ui/browser_commands.h"
42 #include "chrome/browser/ui/browser_finder.h" 41 #include "chrome/browser/ui/browser_finder.h"
43 #include "chrome/browser/ui/browser_iterator.h" 42 #include "chrome/browser/ui/browser_iterator.h"
44 #include "chrome/browser/ui/browser_list.h" 43 #include "chrome/browser/ui/browser_list.h"
45 #include "chrome/browser/ui/browser_navigator.h" 44 #include "chrome/browser/ui/browser_navigator.h"
46 #include "chrome/browser/ui/browser_window.h" 45 #include "chrome/browser/ui/browser_window.h"
47 #include "chrome/browser/ui/find_bar/find_notification_details.h" 46 #include "chrome/browser/ui/find_bar/find_notification_details.h"
48 #include "chrome/browser/ui/find_bar/find_tab_helper.h" 47 #include "chrome/browser/ui/find_bar/find_tab_helper.h"
49 #include "chrome/browser/ui/host_desktop.h" 48 #include "chrome/browser/ui/host_desktop.h"
50 #include "chrome/browser/ui/omnibox/location_bar.h" 49 #include "chrome/browser/ui/omnibox/location_bar.h"
51 #include "chrome/browser/ui/omnibox/omnibox_view.h" 50 #include "chrome/browser/ui/omnibox/omnibox_view.h"
52 #include "chrome/browser/ui/tabs/tab_strip_model.h" 51 #include "chrome/browser/ui/tabs/tab_strip_model.h"
53 #include "chrome/common/chrome_paths.h" 52 #include "chrome/common/chrome_paths.h"
54 #include "chrome/common/pref_names.h" 53 #include "chrome/common/pref_names.h"
55 #include "chrome/test/base/find_in_page_observer.h" 54 #include "chrome/test/base/find_in_page_observer.h"
55 #include "components/bookmarks/core/browser/bookmark_model.h"
56 #include "content/public/browser/dom_operation_notification_details.h" 56 #include "content/public/browser/dom_operation_notification_details.h"
57 #include "content/public/browser/download_item.h" 57 #include "content/public/browser/download_item.h"
58 #include "content/public/browser/download_manager.h" 58 #include "content/public/browser/download_manager.h"
59 #include "content/public/browser/geolocation_provider.h" 59 #include "content/public/browser/geolocation_provider.h"
60 #include "content/public/browser/navigation_controller.h" 60 #include "content/public/browser/navigation_controller.h"
61 #include "content/public/browser/navigation_entry.h" 61 #include "content/public/browser/navigation_entry.h"
62 #include "content/public/browser/notification_service.h" 62 #include "content/public/browser/notification_service.h"
63 #include "content/public/browser/render_process_host.h" 63 #include "content/public/browser/render_process_host.h"
64 #include "content/public/browser/render_view_host.h" 64 #include "content/public/browser/render_view_host.h"
65 #include "content/public/browser/web_contents.h" 65 #include "content/public/browser/web_contents.h"
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 void HistoryEnumerator::HistoryQueryComplete( 591 void HistoryEnumerator::HistoryQueryComplete(
592 const base::Closure& quit_task, 592 const base::Closure& quit_task,
593 HistoryService::Handle request_handle, 593 HistoryService::Handle request_handle,
594 history::QueryResults* results) { 594 history::QueryResults* results) {
595 for (size_t i = 0; i < results->size(); ++i) 595 for (size_t i = 0; i < results->size(); ++i)
596 urls_.push_back((*results)[i].url()); 596 urls_.push_back((*results)[i].url());
597 quit_task.Run(); 597 quit_task.Run();
598 } 598 }
599 599
600 } // namespace ui_test_utils 600 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | components/bookmarks.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698