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

Unified Diff: content/renderer/media/android/webmediaplayer_android.h

Issue 496683002: Updating buffered duration of local resource in android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7168fc323f5a12cba64cc3bc144348a5cae70bda..88b735d73a7388b6f808a26d6f6384727f028797 100644
--- a/content/renderer/media/android/webmediaplayer_android.h
+++ b/content/renderer/media/android/webmediaplayer_android.h
@@ -285,6 +285,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.
@@ -483,6 +484,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_;
« no previous file with comments | « no previous file | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698