| 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 "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/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 #include "content/browser/ssl/ssl_manager.h" | 85 #include "content/browser/ssl/ssl_manager.h" |
| 86 #include "content/browser/tab_contents/navigation_entry.h" | 86 #include "content/browser/tab_contents/navigation_entry.h" |
| 87 #include "content/browser/tab_contents/tab_contents.h" | 87 #include "content/browser/tab_contents/tab_contents.h" |
| 88 #include "content/browser/tab_contents/tab_contents_view.h" | 88 #include "content/browser/tab_contents/tab_contents_view.h" |
| 89 #include "content/public/browser/browser_thread.h" | 89 #include "content/public/browser/browser_thread.h" |
| 90 #include "net/proxy/proxy_config_service_fixed.h" | 90 #include "net/proxy/proxy_config_service_fixed.h" |
| 91 #include "net/proxy/proxy_service.h" | 91 #include "net/proxy/proxy_service.h" |
| 92 #include "net/url_request/url_request_context.h" | 92 #include "net/url_request/url_request_context.h" |
| 93 #include "net/url_request/url_request_context_getter.h" | 93 #include "net/url_request/url_request_context_getter.h" |
| 94 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" | 94 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" |
| 95 #include "webkit/glue/password_form.h" | |
| 96 | 95 |
| 97 #if defined(OS_WIN) && !defined(USE_AURA) | 96 #if defined(OS_WIN) && !defined(USE_AURA) |
| 98 #include "chrome/browser/external_tab_container_win.h" | 97 #include "chrome/browser/external_tab_container_win.h" |
| 99 #endif // defined(OS_WIN) | 98 #endif // defined(OS_WIN) |
| 100 | 99 |
| 101 #if defined(OS_CHROMEOS) | 100 #if defined(OS_CHROMEOS) |
| 102 #include "chrome/browser/chromeos/login/user_manager.h" | 101 #include "chrome/browser/chromeos/login/user_manager.h" |
| 103 #endif // defined(OS_CHROMEOS) | 102 #endif // defined(OS_CHROMEOS) |
| 104 | 103 |
| 105 using content::BrowserThread; | 104 using content::BrowserThread; |
| (...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1000 } | 999 } |
| 1001 } | 1000 } |
| 1002 } | 1001 } |
| 1003 | 1002 |
| 1004 void AutomationProvider::SaveAsAsync(int tab_handle) { | 1003 void AutomationProvider::SaveAsAsync(int tab_handle) { |
| 1005 NavigationController* tab = NULL; | 1004 NavigationController* tab = NULL; |
| 1006 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab); | 1005 TabContents* tab_contents = GetTabContentsForHandle(tab_handle, &tab); |
| 1007 if (tab_contents) | 1006 if (tab_contents) |
| 1008 tab_contents->OnSavePage(); | 1007 tab_contents->OnSavePage(); |
| 1009 } | 1008 } |
| OLD | NEW |