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

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

Issue 1318793005: [part 2] Make classes and structures in modules fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/mediasource/URLMediaSource.h ('k') | Source/modules/mediastream/NavigatorMediaStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/NavigatorMediaStream.h
diff --git a/Source/modules/mediastream/NavigatorMediaStream.h b/Source/modules/mediastream/NavigatorMediaStream.h
index 12cfb2774a97669898e730afcacdd85301e07862..b24f5d75e36e9b8a988615b519950cffee9c7da1 100644
--- a/Source/modules/mediastream/NavigatorMediaStream.h
+++ b/Source/modules/mediastream/NavigatorMediaStream.h
@@ -21,6 +21,7 @@
#define NavigatorMediaStream_h
#include "platform/heap/Handle.h"
+#include "wtf/Allocator.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/WTFString.h"
@@ -35,14 +36,11 @@ class NavigatorUserMediaErrorCallback;
class NavigatorUserMediaSuccessCallback;
class NavigatorMediaStream {
+ STATIC_ONLY(NavigatorMediaStream);
public:
static void webkitGetUserMedia(Navigator&, const MediaStreamConstraints&, NavigatorUserMediaSuccessCallback*, NavigatorUserMediaErrorCallback*, ExceptionState&);
static void getMediaDevices(Navigator&, MediaDeviceInfoCallback*, ExceptionState&);
-
-private:
- NavigatorMediaStream();
- ~NavigatorMediaStream();
};
} // namespace blink
« no previous file with comments | « Source/modules/mediasource/URLMediaSource.h ('k') | Source/modules/mediastream/NavigatorMediaStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698