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

Side by Side Diff: chrome/browser/automation/automation_provider.cc

Issue 7111013: Move most of the core SSL code from chrome to content. The UI code that's specific to Chrome (i.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/page_info_model.cc » ('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) 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 "chrome/browser/automation/automation_provider.h" 5 #include "chrome/browser/automation/automation_provider.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #include "chrome/browser/extensions/extension_service.h" 52 #include "chrome/browser/extensions/extension_service.h"
53 #include "chrome/browser/extensions/extension_tabs_module.h" 53 #include "chrome/browser/extensions/extension_tabs_module.h"
54 #include "chrome/browser/extensions/extension_toolbar_model.h" 54 #include "chrome/browser/extensions/extension_toolbar_model.h"
55 #include "chrome/browser/extensions/user_script_master.h" 55 #include "chrome/browser/extensions/user_script_master.h"
56 #include "chrome/browser/net/url_request_mock_util.h" 56 #include "chrome/browser/net/url_request_mock_util.h"
57 #include "chrome/browser/platform_util.h" 57 #include "chrome/browser/platform_util.h"
58 #include "chrome/browser/prefs/pref_service.h" 58 #include "chrome/browser/prefs/pref_service.h"
59 #include "chrome/browser/printing/print_job.h" 59 #include "chrome/browser/printing/print_job.h"
60 #include "chrome/browser/profiles/profile_manager.h" 60 #include "chrome/browser/profiles/profile_manager.h"
61 #include "chrome/browser/ssl/ssl_blocking_page.h" 61 #include "chrome/browser/ssl/ssl_blocking_page.h"
62 #include "chrome/browser/ssl/ssl_manager.h"
63 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h" 62 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h"
64 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" 63 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h"
65 #include "chrome/browser/ui/browser_list.h" 64 #include "chrome/browser/ui/browser_list.h"
66 #include "chrome/browser/ui/browser_window.h" 65 #include "chrome/browser/ui/browser_window.h"
67 #include "chrome/browser/ui/download/download_tab_helper.h" 66 #include "chrome/browser/ui/download/download_tab_helper.h"
68 #include "chrome/browser/ui/find_bar/find_bar.h" 67 #include "chrome/browser/ui/find_bar/find_bar.h"
69 #include "chrome/browser/ui/find_bar/find_bar_controller.h" 68 #include "chrome/browser/ui/find_bar/find_bar_controller.h"
70 #include "chrome/browser/ui/find_bar/find_notification_details.h" 69 #include "chrome/browser/ui/find_bar/find_notification_details.h"
71 #include "chrome/browser/ui/find_bar/find_tab_helper.h" 70 #include "chrome/browser/ui/find_bar/find_tab_helper.h"
72 #include "chrome/browser/ui/login/login_prompt.h" 71 #include "chrome/browser/ui/login/login_prompt.h"
73 #include "chrome/browser/ui/omnibox/location_bar.h" 72 #include "chrome/browser/ui/omnibox/location_bar.h"
74 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 73 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
75 #include "chrome/common/automation_constants.h" 74 #include "chrome/common/automation_constants.h"
76 #include "chrome/common/automation_messages.h" 75 #include "chrome/common/automation_messages.h"
77 #include "chrome/common/chrome_constants.h" 76 #include "chrome/common/chrome_constants.h"
78 #include "chrome/common/chrome_paths.h" 77 #include "chrome/common/chrome_paths.h"
79 #include "chrome/common/chrome_switches.h" 78 #include "chrome/common/chrome_switches.h"
80 #include "chrome/common/chrome_version_info.h" 79 #include "chrome/common/chrome_version_info.h"
81 #include "chrome/common/extensions/extension.h" 80 #include "chrome/common/extensions/extension.h"
82 #include "chrome/common/pref_names.h" 81 #include "chrome/common/pref_names.h"
83 #include "chrome/common/render_messages.h" 82 #include "chrome/common/render_messages.h"
84 #include "chrome/common/url_constants.h" 83 #include "chrome/common/url_constants.h"
85 #include "content/browser/browser_thread.h" 84 #include "content/browser/browser_thread.h"
86 #include "content/browser/renderer_host/render_process_host.h" 85 #include "content/browser/renderer_host/render_process_host.h"
87 #include "content/browser/renderer_host/render_view_host.h" 86 #include "content/browser/renderer_host/render_view_host.h"
87 #include "content/browser/ssl/ssl_manager.h"
88 #include "content/browser/tab_contents/navigation_entry.h" 88 #include "content/browser/tab_contents/navigation_entry.h"
89 #include "content/browser/tab_contents/tab_contents.h" 89 #include "content/browser/tab_contents/tab_contents.h"
90 #include "content/browser/tab_contents/tab_contents_view.h" 90 #include "content/browser/tab_contents/tab_contents_view.h"
91 #include "content/common/json_value_serializer.h" 91 #include "content/common/json_value_serializer.h"
92 #include "content/common/view_messages.h" 92 #include "content/common/view_messages.h"
93 #include "net/proxy/proxy_config_service_fixed.h" 93 #include "net/proxy/proxy_config_service_fixed.h"
94 #include "net/proxy/proxy_service.h" 94 #include "net/proxy/proxy_service.h"
95 #include "net/url_request/url_request_context.h" 95 #include "net/url_request/url_request_context.h"
96 #include "net/url_request/url_request_context_getter.h" 96 #include "net/url_request/url_request_context_getter.h"
97 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" 97 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h"
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 972
973 void AutomationProvider::SaveAsAsync(int tab_handle) { 973 void AutomationProvider::SaveAsAsync(int tab_handle) {
974 NavigationController* tab = NULL; 974 NavigationController* tab = NULL;
975 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab); 975 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab);
976 if (tab_contents) { 976 if (tab_contents) {
977 TabContentsWrapper* wrapper = 977 TabContentsWrapper* wrapper =
978 TabContentsWrapper::GetCurrentWrapperForContents(tab_contents); 978 TabContentsWrapper::GetCurrentWrapperForContents(tab_contents);
979 wrapper->download_tab_helper()->OnSavePage(); 979 wrapper->download_tab_helper()->OnSavePage();
980 } 980 }
981 } 981 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/page_info_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698