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

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

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 5 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 | Annotate | Revision Log
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void failPermissionDenied(const String& message); 64 void failPermissionDenied(const String& message);
65 void failConstraint(const String& constraintName, const String& message); 65 void failConstraint(const String& constraintName, const String& message);
66 void failUASpecific(const String& name, const String& message, const String& constraintName); 66 void failUASpecific(const String& name, const String& message, const String& constraintName);
67 67
68 bool audio() const; 68 bool audio() const;
69 bool video() const; 69 bool video() const;
70 WebMediaConstraints audioConstraints() const; 70 WebMediaConstraints audioConstraints() const;
71 WebMediaConstraints videoConstraints() const; 71 WebMediaConstraints videoConstraints() const;
72 72
73 // ContextLifecycleObserver 73 // ContextLifecycleObserver
74 virtual void contextDestroyed() override; 74 void contextDestroyed() override;
75 75
76 DECLARE_VIRTUAL_TRACE(); 76 DECLARE_VIRTUAL_TRACE();
77 77
78 private: 78 private:
79 UserMediaRequest(ExecutionContext*, UserMediaController*, WebMediaConstraint s audio, WebMediaConstraints video, NavigatorUserMediaSuccessCallback*, Navigato rUserMediaErrorCallback*); 79 UserMediaRequest(ExecutionContext*, UserMediaController*, WebMediaConstraint s audio, WebMediaConstraints video, NavigatorUserMediaSuccessCallback*, Navigato rUserMediaErrorCallback*);
80 80
81 WebMediaConstraints m_audio; 81 WebMediaConstraints m_audio;
82 WebMediaConstraints m_video; 82 WebMediaConstraints m_video;
83 83
84 RawPtrWillBeMember<UserMediaController> m_controller; 84 RawPtrWillBeMember<UserMediaController> m_controller;
85 85
86 Member<NavigatorUserMediaSuccessCallback> m_successCallback; 86 Member<NavigatorUserMediaSuccessCallback> m_successCallback;
87 Member<NavigatorUserMediaErrorCallback> m_errorCallback; 87 Member<NavigatorUserMediaErrorCallback> m_errorCallback;
88 }; 88 };
89 89
90 } // namespace blink 90 } // namespace blink
91 91
92 #endif // UserMediaRequest_h 92 #endif // UserMediaRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698