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

Side by Side Diff: android_webview/native/aw_media_url_interceptor.h

Issue 415043006: [Android WebView] AwMediaUrlInterceptor to handle media assets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « android_webview/native/DEPS ('k') | android_webview/native/aw_media_url_interceptor.cc » ('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 ANDROID_WEBVIEW_NATIVE_AW_MEDIA_URL_INTERCEPTOR_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_MEDIA_URL_INTERCEPTOR_H_
7
8 #include <string>
9
10 #include "base/android/jni_android.h"
11 #include "media/base/android/media_url_interceptor.h"
12 #include "media/base/media_export.h"
xhwang 2014/07/31 16:46:24 Is this needed? If not, the dependency can be more
Ignacio Solla 2014/08/01 09:29:42 Good catch, actually it is not needed. Removed.
13
14 namespace android_webview {
15
16 // Interceptor to handle urls for media assets in the apk.
17 class AwMediaUrlInterceptor : public media::MediaUrlInterceptor {
18 public:
19 virtual bool Intercept(const std::string& url,
20 int* fd,
21 int64* offset,
22 int64* size) const OVERRIDE;
23 };
24
25 } // namespace android_webview
26
27 #endif // ANDROID_WEBVIEW_NATIVE_AW_MEDIA_URL_INTERCEPTOR_H_
OLDNEW
« no previous file with comments | « android_webview/native/DEPS ('k') | android_webview/native/aw_media_url_interceptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698