| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ |
| 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ | 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ |
| 7 | 7 |
| 8 #include "ipc/ipc_message.h" | 8 #include "ipc/ipc_message.h" |
| 9 | 9 |
| 10 class Profile; | 10 class Profile; |
| 11 class ChromeURLRequestContextGetter; | 11 class ChromeURLRequestContextGetter; |
| 12 | 12 |
| 13 namespace AutomationRequestContext { | 13 namespace AutomationRequestContext { |
| 14 | 14 |
| 15 // Returns the URL request context to be used by HTTP requests handled over | 15 // Returns the URL request context to be used by HTTP requests handled over |
| 16 // the automation channel. | 16 // the automation channel. |
| 17 ChromeURLRequestContextGetter* CreateAutomationURLRequestContextForTab( | 17 ChromeURLRequestContextGetter* CreateAutomationURLRequestContextForTab( |
| 18 int tab_handle, | 18 int tab_handle, |
| 19 Profile* profile, | 19 Profile* profile, |
| 20 IPC::Message::Sender* automation_client); | 20 IPC::Message::Sender* automation_client); |
| 21 | 21 |
| 22 // Cleans up the request context on the IO thread. | 22 } |
| 23 void CleanupRequestContext(ChromeURLRequestContextGetter* context); | |
| 24 | |
| 25 }; | |
| 26 | 23 |
| 27 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ | 24 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ |
| OLD | NEW |