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

Side by Side Diff: chrome/browser/automation/automation_profile_impl.h

Issue 332006: Remove the restriction that ChromeURLRequestContextGetter needs to be release... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync to latest changes Created 11 years, 1 month 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/automation/automation_profile_impl.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) 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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698