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

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

Issue 6249010: Cleanup: de-inline a bunch of classes, rename and move "PluginInstaller" to "... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
OLDNEW
1 // Copyright (c) 2010 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"
11 #include "base/file_path.h" 11 #include "base/file_path.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 #include "chrome/browser/io_thread.h" 64 #include "chrome/browser/io_thread.h"
65 #include "chrome/browser/net/url_request_mock_util.h" 65 #include "chrome/browser/net/url_request_mock_util.h"
66 #include "chrome/browser/platform_util.h" 66 #include "chrome/browser/platform_util.h"
67 #include "chrome/browser/prefs/pref_service.h" 67 #include "chrome/browser/prefs/pref_service.h"
68 #include "chrome/browser/printing/print_job.h" 68 #include "chrome/browser/printing/print_job.h"
69 #include "chrome/browser/profiles/profile_manager.h" 69 #include "chrome/browser/profiles/profile_manager.h"
70 #include "chrome/browser/renderer_host/render_process_host.h" 70 #include "chrome/browser/renderer_host/render_process_host.h"
71 #include "chrome/browser/renderer_host/render_view_host.h" 71 #include "chrome/browser/renderer_host/render_view_host.h"
72 #include "chrome/browser/ssl/ssl_manager.h" 72 #include "chrome/browser/ssl/ssl_manager.h"
73 #include "chrome/browser/ssl/ssl_blocking_page.h" 73 #include "chrome/browser/ssl/ssl_blocking_page.h"
74 #include "chrome/browser/tab_contents/infobar_delegate.h"
75 #include "chrome/browser/tab_contents/navigation_entry.h" 74 #include "chrome/browser/tab_contents/navigation_entry.h"
76 #include "chrome/browser/tab_contents/tab_contents.h" 75 #include "chrome/browser/tab_contents/tab_contents.h"
77 #include "chrome/browser/tab_contents/tab_contents_view.h" 76 #include "chrome/browser/tab_contents/tab_contents_view.h"
78 #include "chrome/browser/translate/translate_infobar_delegate.h"
79 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h" 77 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h"
80 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" 78 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h"
81 #include "chrome/browser/ui/find_bar/find_bar.h" 79 #include "chrome/browser/ui/find_bar/find_bar.h"
82 #include "chrome/browser/ui/find_bar/find_bar_controller.h" 80 #include "chrome/browser/ui/find_bar/find_bar_controller.h"
83 #include "chrome/browser/ui/find_bar/find_notification_details.h" 81 #include "chrome/browser/ui/find_bar/find_notification_details.h"
84 #include "chrome/browser/ui/login/login_prompt.h" 82 #include "chrome/browser/ui/login/login_prompt.h"
85 #include "chrome/browser/ui/omnibox/location_bar.h" 83 #include "chrome/browser/ui/omnibox/location_bar.h"
86 #include "chrome/common/automation_constants.h" 84 #include "chrome/common/automation_constants.h"
87 #include "chrome/common/automation_messages.h" 85 #include "chrome/common/automation_messages.h"
88 #include "chrome/common/chrome_constants.h" 86 #include "chrome/common/chrome_constants.h"
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
1028 } 1026 }
1029 } 1027 }
1030 } 1028 }
1031 1029
1032 void AutomationProvider::SaveAsAsync(int tab_handle) { 1030 void AutomationProvider::SaveAsAsync(int tab_handle) {
1033 NavigationController* tab = NULL; 1031 NavigationController* tab = NULL;
1034 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab); 1032 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab);
1035 if (tab_contents) 1033 if (tab_contents)
1036 tab_contents->OnSavePage(); 1034 tab_contents->OnSavePage();
1037 } 1035 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_cc_infobar_delegate.cc ('k') | chrome/browser/automation/automation_provider_observers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698