chromium_http_stub.h revision bea455c8e4a230cc5aedc9df33e1ba97c64cec5f
1bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross/*
2bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross * Copyright (C) 2012 The Android Open Source Project
3bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross *
4bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross * Licensed under the Apache License, Version 2.0 (the "License");
5bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross * you may not use this file except in compliance with the License.
6bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross * You may obtain a copy of the License at
7bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross *
8bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross *      http://www.apache.org/licenses/LICENSE-2.0
9bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross *
10bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross * Unless required by applicable law or agreed to in writing, software
11bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross * distributed under the License is distributed on an "AS IS" BASIS,
12bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross * See the License for the specific language governing permissions and
14bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross * limitations under the License.
15bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross */
16bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross
17bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross#ifndef CHROMIUM_HTTP_STUB_H_
18bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross#define CHROMIUM_HTTP_STUB_H_
19bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross
20bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross#include <include/HTTPBase.h>
21bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross#include <media/stagefright/DataSource.h>
22bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross
23bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Crossnamespace android {
24bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Crossextern "C" {
25bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin CrossHTTPBase *createChromiumHTTPDataSource(uint32_t flags);
26bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin CrossDataSource *createDataUriSource(const char *uri);
27bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross}
28bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross}
29bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross
30bea455c8e4a230cc5aedc9df33e1ba97c64cec5fColin Cross#endif
31