[Android WebView] Fix webview perf bot switchover to use org.chromium.webview_shell...
[chromium-blink-merge.git] / content / public / browser / android / content_protocol_handler.h
blobbe9473e1bb3e12cae1277bd38644dd706d8f1caa
1 // Copyright (c) 2014 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 CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_PROTOCOL_HANDLER_H_
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_PROTOCOL_HANDLER_H_
8 #include "base/memory/ref_counted.h"
9 #include "content/common/content_export.h"
10 #include "net/url_request/url_request_job_factory.h"
12 namespace base {
13 class TaskRunner;
16 namespace content {
18 // ProtocolHandler for content scheme jobs.
19 class CONTENT_EXPORT ContentProtocolHandler :
20 public net::URLRequestJobFactory::ProtocolHandler {
21 public:
22 // Creates and returns a ContentProtocolHandler instance.
23 static ContentProtocolHandler* Create(
24 const scoped_refptr<base::TaskRunner>& content_task_runner);
26 protected:
27 ~ContentProtocolHandler() override {}
30 } // namespace content
32 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_PROTOCOL_HANDLER_H_