Index: content/renderer/media/android/webmediaplayer_android.h |
diff --git a/content/renderer/media/android/webmediaplayer_android.h b/content/renderer/media/android/webmediaplayer_android.h |
index 6f74ae5c41a24353e06da73e516da78ff9015365..78f963908e1031b547fa568fe41a696ff20c1a9a 100644 |
--- a/content/renderer/media/android/webmediaplayer_android.h |
+++ b/content/renderer/media/android/webmediaplayer_android.h |
@@ -280,6 +280,7 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer, |
const GURL& first_party_for_cookies, |
bool allow_stored_credentials); |
bool IsKeySystemSupported(const std::string& key_system); |
+ bool IsLocalResource(); |
// Actually do the work for generateKeyRequest/addKey so they can easily |
// report results to UMA. |
@@ -476,6 +477,9 @@ class WebMediaPlayerAndroid : public blink::WebMediaPlayer, |
// Whether stored credentials are allowed to be passed to the server. |
bool allow_stored_credentials_; |
+ // Whether the resource is local. |
+ bool is_local_resource_; |
+ |
// NOTE: Weak pointers must be invalidated before all other member variables. |
base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_; |