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

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

Issue 893343002: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_MEDIA_URL_INTERCEPTOR_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_MEDIA_URL_INTERCEPTOR_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_MEDIA_URL_INTERCEPTOR_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_MEDIA_URL_INTERCEPTOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
11 #include "media/base/android/media_url_interceptor.h" 11 #include "media/base/android/media_url_interceptor.h"
12 12
13 namespace android_webview { 13 namespace android_webview {
14 14
15 // Interceptor to handle urls for media assets in the apk. 15 // Interceptor to handle urls for media assets in the apk.
16 class AwMediaUrlInterceptor : public media::MediaUrlInterceptor { 16 class AwMediaUrlInterceptor : public media::MediaUrlInterceptor {
17 public: 17 public:
18 virtual bool Intercept(const std::string& url, 18 bool Intercept(const std::string& url,
19 int* fd, 19 int* fd,
20 int64* offset, 20 int64* offset,
21 int64* size) const override; 21 int64* size) const override;
22 }; 22 };
23 23
24 } // namespace android_webview 24 } // namespace android_webview
25 25
26 #endif // ANDROID_WEBVIEW_NATIVE_AW_MEDIA_URL_INTERCEPTOR_H_ 26 #endif // ANDROID_WEBVIEW_NATIVE_AW_MEDIA_URL_INTERCEPTOR_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_http_auth_handler.h ('k') | android_webview/native/aw_message_port_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698