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

Unified Diff: Source/modules/mediastream/UserMediaController.h

Issue 791033003: Tidy up UserMediaController references from mediastream request objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix non-Oilpan compilation Created 6 years 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 | « Source/modules/mediastream/MediaDevicesRequest.cpp ('k') | Source/modules/mediastream/UserMediaRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/UserMediaController.h
diff --git a/Source/modules/mediastream/UserMediaController.h b/Source/modules/mediastream/UserMediaController.h
index 627af5d30e64cb68cac202e33b9af295bffaac9d..fdad3e42ac1864be8084519585b3cd56fa890b2c 100644
--- a/Source/modules/mediastream/UserMediaController.h
+++ b/Source/modules/mediastream/UserMediaController.h
@@ -38,6 +38,7 @@ class UserMediaController final : public NoBaseWillBeGarbageCollected<UserMediaC
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(UserMediaController);
DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(UserMediaController);
public:
+ static PassOwnPtrWillBeRawPtr<UserMediaController> create(UserMediaClient*);
UserMediaClient* client() const { return m_client; }
@@ -49,16 +50,12 @@ public:
void requestSources(MediaStreamTrackSourcesRequest*);
- static PassOwnPtrWillBeRawPtr<UserMediaController> create(UserMediaClient*);
static const char* supplementName();
static UserMediaController* from(LocalFrame* frame) { return static_cast<UserMediaController*>(WillBeHeapSupplement<LocalFrame>::from(frame, supplementName())); }
- virtual void trace(Visitor* visitor) override { WillBeHeapSupplement<LocalFrame>::trace(visitor); }
-
-protected:
+private:
explicit UserMediaController(UserMediaClient*);
-private:
UserMediaClient* m_client;
};
« no previous file with comments | « Source/modules/mediastream/MediaDevicesRequest.cpp ('k') | Source/modules/mediastream/UserMediaRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698