summaryrefslogtreecommitdiffstats
path: root/remoting/host/session_manager_factory.h
blob: 4bce1f67b5f47d8f63c49e02f97246477fcf46dd (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
25
26
27
28
29
30
31
32
// Copyright (c) 2012 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 REMOTING_HOST_SESSION_MANAGER_FACTORY_H_
#define REMOTING_HOST_SESSION_MANAGER_FACTORY_H_

#include "base/memory/scoped_ptr.h"
#include "net/url_request/url_request_context_getter.h"

namespace net {
class URLRequestContextGetter;
}  // namespace net

namespace remoting {

class SignalStrategy;

namespace protocol {
struct NetworkSettings;
class SessionManager;
}  // namespace protocol

scoped_ptr<protocol::SessionManager> CreateHostSessionManager(
    SignalStrategy* signal_strategy,
    const protocol::NetworkSettings& network_settings,
    const scoped_refptr<net::URLRequestContextGetter>&
        url_request_context_getter);

}  // namespace remoting

#endif  // REMOTING_HOST_SESSION_MANAGER_FACTORY_H_