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

Unified Diff: media/base/media_client.h

Issue 1430063003: use MEDIA_BLINK_EXPORT in media/blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | media/blink/BUILD.gn » ('j') | media/blink/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_client.h
diff --git a/media/base/media_client.h b/media/base/media_client.h
index 4b6bef5794b994f75d2298c925a1802f365d382d..dc8da49218fe2e8bedfe1bb559463d7412dca980 100644
--- a/media/base/media_client.h
+++ b/media/base/media_client.h
@@ -21,7 +21,7 @@ class MediaClient;
MEDIA_EXPORT void SetMediaClient(MediaClient* media_client);
// Media's embedder API should only be used by media.
-#if defined(MEDIA_IMPLEMENTATION)
+#if defined(MEDIA_IMPLEMENTATION) || defined(MEDIA_BLINK_IMPLEMENTATION)
ddorwin 2015/11/06 22:04:23 This feels wrong. First, two different modules do
hubbe 2015/11/06 22:19:40 There are actually several things wrong here IMHO.
ddorwin 2015/11/06 22:49:01 I don't think we want to friend all call sites - i
xhwang 2015/11/06 23:43:18 GetMediaClient was added to be used within the med
hubbe 2015/11/06 23:52:11 Acknowledged.
// Getter for the client. Returns NULL if no customized client is needed.
MEDIA_EXPORT MediaClient* GetMediaClient();
#endif
« no previous file with comments | « no previous file | media/blink/BUILD.gn » ('j') | media/blink/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698