summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_profile_impl.h
blob: f2bc6c2592a362398a26441dfc36a61413b965d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_
#define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_

#include "ipc/ipc_message.h"

class Profile;
class ChromeURLRequestContextGetter;

namespace AutomationRequestContext {

// Returns the URL request context to be used by HTTP requests handled over
// the automation channel.
ChromeURLRequestContextGetter* CreateAutomationURLRequestContextForTab(
    int tab_handle,
    Profile* profile,
    IPC::Message::Sender* automation_client);

}

#endif  // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_