Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Side by Side Diff: content/public/browser/android/content_protocol_handler.h

Issue 739033003: Support content scheme uri for Chrome on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/data/android/red.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_PROTOCOL_HANDLER_H_
6 #define CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_PROTOCOL_HANDLER_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "content/common/content_export.h"
10 #include "net/url_request/url_request_job_factory.h"
11
12 namespace base {
13 class TaskRunner;
14 }
15
16 namespace content {
17
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);
25
26 protected:
27 virtual ~ContentProtocolHandler() {}
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_PUBLIC_BROWSER_ANDROID_CONTENT_PROTOCOL_HANDLER_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/data/android/red.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698