mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
This commit is contained in:
commit
20a51706b5
@ -48,7 +48,6 @@ include $(topsrcdir)/config/rules.mk
|
||||
MOZ_PKG_REMOVALS = $(srcdir)/removed-files.in
|
||||
|
||||
MOZ_PKG_MANIFEST_P = $(srcdir)/package-manifest.in
|
||||
MOZ_PKG_FATAL_WARNINGS = 1
|
||||
|
||||
MOZ_NONLOCALIZED_PKG_LIST = \
|
||||
xpcom \
|
||||
|
@ -5,6 +5,7 @@
|
||||
var counter = 0;
|
||||
|
||||
var interval = setInterval(function() {
|
||||
dump("WorkerAlive\n");
|
||||
postMessage(++counter);
|
||||
}, 100);
|
||||
|
||||
|
@ -10,4 +10,4 @@ onmessage = function(event) {
|
||||
throw "No messages should reach me!";
|
||||
}
|
||||
|
||||
setInterval(function() { postMessage("Still alive!"); }, 100);
|
||||
setInterval(function() { dump("WorkerAlive\n"); postMessage("Still alive!"); }, 100);
|
||||
|
@ -71,21 +71,21 @@ class CameraHardwareInterface {
|
||||
|
||||
static CameraHardwareInterface* openCamera(PRUint32 aCamera);
|
||||
|
||||
virtual ~CameraHardwareInterface() { };
|
||||
virtual ~CameraHardwareInterface() { }
|
||||
|
||||
virtual bool ok();
|
||||
virtual void enableMsgType(int32_t msgType);
|
||||
virtual void disableMsgType(int32_t msgType);
|
||||
virtual bool msgTypeEnabled(int32_t msgType);
|
||||
virtual bool ok() = 0;
|
||||
virtual void enableMsgType(int32_t msgType) = 0;
|
||||
virtual void disableMsgType(int32_t msgType) = 0;
|
||||
virtual bool msgTypeEnabled(int32_t msgType) = 0;
|
||||
virtual void setCallbacks(notify_callback notify_cb,
|
||||
data_callback data_cb,
|
||||
data_callback_timestamp data_cb_timestamp,
|
||||
void* user);
|
||||
virtual status_t startPreview();
|
||||
virtual void stopPreview();
|
||||
virtual void release();
|
||||
virtual status_t setParameters(const CameraParameters& params);
|
||||
virtual CameraParameters getParameters() const;
|
||||
void* user) = 0;
|
||||
virtual status_t startPreview() = 0;
|
||||
virtual void stopPreview() = 0;
|
||||
virtual void release() = 0;
|
||||
virtual status_t setParameters(const CameraParameters& params) = 0;
|
||||
virtual CameraParameters getParameters() const = 0;
|
||||
|
||||
protected:
|
||||
CameraHardwareInterface(PRUint32 aCamera = 0) { };
|
||||
|
Loading…
Reference in New Issue
Block a user