Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / xwalk / application / browser / application_protocols.h
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
3 // found in the LICENSE file.
4
5 #ifndef XWALK_APPLICATION_BROWSER_APPLICATION_PROTOCOLS_H_
6 #define XWALK_APPLICATION_BROWSER_APPLICATION_PROTOCOLS_H_
7
8 #include "base/memory/linked_ptr.h"
9 #include "net/url_request/url_request_job_factory.h"
10 #include "xwalk/application/browser/application_system.h"
11
12 namespace xwalk {
13 namespace application {
14
15 class ApplicationService;
16
17 // Creates the handlers for the app:// scheme.
18 linked_ptr<net::URLRequestJobFactory::ProtocolHandler>
19 CreateApplicationProtocolHandler(ApplicationService* service);
20
21 }  // namespace application
22 }  // namespace xwalk
23
24 #endif  // XWALK_APPLICATION_BROWSER_APPLICATION_PROTOCOLS_H_