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.
5 #ifndef XWALK_APPLICATION_BROWSER_APPLICATION_PROTOCOLS_H_
6 #define XWALK_APPLICATION_BROWSER_APPLICATION_PROTOCOLS_H_
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"
13 namespace application {
15 class ApplicationService;
17 // Creates the handlers for the app:// scheme.
18 linked_ptr<net::URLRequestJobFactory::ProtocolHandler>
19 CreateApplicationProtocolHandler(ApplicationService* service);
21 } // namespace application
24 #endif // XWALK_APPLICATION_BROWSER_APPLICATION_PROTOCOLS_H_