Index: content/browser/android/web_contents_observer_proxy.h |
diff --git a/content/browser/android/web_contents_observer_proxy.h b/content/browser/android/web_contents_observer_proxy.h |
index af0895dc6693f3ea23fdda5d44268333e38b0639..8888f538dbcfd5c143395318e9b7ec39d1fec316 100644 |
--- a/content/browser/android/web_contents_observer_proxy.h |
+++ b/content/browser/android/web_contents_observer_proxy.h |
@@ -72,9 +72,10 @@ class WebContentsObserverProxy : public WebContentsObserver { |
void DidStartNavigationToPendingEntry( |
const GURL& url, |
NavigationController::ReloadType reload_type) override; |
- void MediaSessionStateChanged(bool is_controllable, |
- bool is_suspended, |
- const MediaMetadata& metadata) override; |
+ void MediaSessionStateChanged( |
+ bool is_controllable, |
+ bool is_suspended, |
+ const base::Optional<MediaMetadata>& metadata) override; |
dcheng
2016/09/06 21:11:16
The documentation for base::Optional specifically
mlamouri (slow - plz ping)
2016/09/07 08:55:53
FWIW, the gist of this recommendation is to avoid
Zhiqiang Zhang (Slow)
2016/09/07 10:45:06
I think passing `const base::Optional<T>&` is OK.
|
void SetToBaseURLForDataURLIfNeeded(std::string* url); |
void DidFailLoadInternal(bool is_provisional_load, |