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

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/UserMediaRequest.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Ericsson AB. All rights reserved. 2 * Copyright (C) 2011 Ericsson AB. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 namespace blink { 43 namespace blink {
44 44
45 class Dictionary; 45 class Dictionary;
46 class Document; 46 class Document;
47 class MediaErrorState; 47 class MediaErrorState;
48 class MediaStreamConstraints; 48 class MediaStreamConstraints;
49 class MediaStreamDescriptor; 49 class MediaStreamDescriptor;
50 class UserMediaController; 50 class UserMediaController;
51 51
52 class MODULES_EXPORT UserMediaRequest final : public GarbageCollectedFinalized<U serMediaRequest>, public ContextLifecycleObserver { 52 class MODULES_EXPORT UserMediaRequest final : public GarbageCollectedFinalized<U serMediaRequest>, public ContextLifecycleObserver {
53 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(UserMediaRequest); 53 USING_GARBAGE_COLLECTED_MIXIN(UserMediaRequest);
54 public: 54 public:
55 static UserMediaRequest* create(ExecutionContext*, UserMediaController*, con st MediaStreamConstraints& options, NavigatorUserMediaSuccessCallback*, Navigato rUserMediaErrorCallback*, MediaErrorState&); 55 static UserMediaRequest* create(ExecutionContext*, UserMediaController*, con st MediaStreamConstraints& options, NavigatorUserMediaSuccessCallback*, Navigato rUserMediaErrorCallback*, MediaErrorState&);
56 static UserMediaRequest* createForTesting(const WebMediaConstraints& audio, const WebMediaConstraints& video); 56 static UserMediaRequest* createForTesting(const WebMediaConstraints& audio, const WebMediaConstraints& video);
57 virtual ~UserMediaRequest(); 57 virtual ~UserMediaRequest();
58 58
59 NavigatorUserMediaSuccessCallback* successCallback() const { return m_succes sCallback.get(); } 59 NavigatorUserMediaSuccessCallback* successCallback() const { return m_succes sCallback.get(); }
60 NavigatorUserMediaErrorCallback* errorCallback() const { return m_errorCallb ack.get(); } 60 NavigatorUserMediaErrorCallback* errorCallback() const { return m_errorCallb ack.get(); }
61 Document* ownerDocument(); 61 Document* ownerDocument();
62 62
63 void start(); 63 void start();
(...skipping 16 matching lines...) Expand all
80 void contextDestroyed() override; 80 void contextDestroyed() override;
81 81
82 DECLARE_VIRTUAL_TRACE(); 82 DECLARE_VIRTUAL_TRACE();
83 83
84 private: 84 private:
85 UserMediaRequest(ExecutionContext*, UserMediaController*, WebMediaConstraint s audio, WebMediaConstraints video, NavigatorUserMediaSuccessCallback*, Navigato rUserMediaErrorCallback*); 85 UserMediaRequest(ExecutionContext*, UserMediaController*, WebMediaConstraint s audio, WebMediaConstraints video, NavigatorUserMediaSuccessCallback*, Navigato rUserMediaErrorCallback*);
86 86
87 WebMediaConstraints m_audio; 87 WebMediaConstraints m_audio;
88 WebMediaConstraints m_video; 88 WebMediaConstraints m_video;
89 89
90 RawPtrWillBeMember<UserMediaController> m_controller; 90 Member<UserMediaController> m_controller;
91 91
92 Member<NavigatorUserMediaSuccessCallback> m_successCallback; 92 Member<NavigatorUserMediaSuccessCallback> m_successCallback;
93 Member<NavigatorUserMediaErrorCallback> m_errorCallback; 93 Member<NavigatorUserMediaErrorCallback> m_errorCallback;
94 }; 94 };
95 95
96 } // namespace blink 96 } // namespace blink
97 97
98 #endif // UserMediaRequest_h 98 #endif // UserMediaRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698