Remove some unused virtual functions
This commit is contained in:
parent
2d262d2dbd
commit
54ab6744f1
4 changed files with 8 additions and 8 deletions
|
@ -27,16 +27,16 @@ class NodeBindings {
|
||||||
virtual ~NodeBindings();
|
virtual ~NodeBindings();
|
||||||
|
|
||||||
// Setup V8, libuv.
|
// Setup V8, libuv.
|
||||||
virtual void Initialize();
|
void Initialize();
|
||||||
|
|
||||||
// Create the environment and load node.js.
|
// Create the environment and load node.js.
|
||||||
virtual node::Environment* CreateEnvironment(v8::Handle<v8::Context> context);
|
node::Environment* CreateEnvironment(v8::Handle<v8::Context> context);
|
||||||
|
|
||||||
// Load node.js in the environment.
|
// Load node.js in the environment.
|
||||||
void LoadEnvironment(node::Environment* env);
|
void LoadEnvironment(node::Environment* env);
|
||||||
|
|
||||||
// Prepare for message loop integration.
|
// Prepare for message loop integration.
|
||||||
virtual void PrepareMessageLoop();
|
void PrepareMessageLoop();
|
||||||
|
|
||||||
// Do message loop integration.
|
// Do message loop integration.
|
||||||
virtual void RunMessageLoop();
|
virtual void RunMessageLoop();
|
||||||
|
|
|
@ -15,13 +15,13 @@ class NodeBindingsLinux : public NodeBindings {
|
||||||
explicit NodeBindingsLinux(bool is_browser);
|
explicit NodeBindingsLinux(bool is_browser);
|
||||||
virtual ~NodeBindingsLinux();
|
virtual ~NodeBindingsLinux();
|
||||||
|
|
||||||
virtual void RunMessageLoop() OVERRIDE;
|
void RunMessageLoop() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Called when uv's watcher queue changes.
|
// Called when uv's watcher queue changes.
|
||||||
static void OnWatcherQueueChanged(uv_loop_t* loop);
|
static void OnWatcherQueueChanged(uv_loop_t* loop);
|
||||||
|
|
||||||
virtual void PollEvents() OVERRIDE;
|
void PollEvents() override;
|
||||||
|
|
||||||
// Epoll to poll for uv's backend fd.
|
// Epoll to poll for uv's backend fd.
|
||||||
int epoll_;
|
int epoll_;
|
||||||
|
|
|
@ -15,13 +15,13 @@ class NodeBindingsMac : public NodeBindings {
|
||||||
explicit NodeBindingsMac(bool is_browser);
|
explicit NodeBindingsMac(bool is_browser);
|
||||||
virtual ~NodeBindingsMac();
|
virtual ~NodeBindingsMac();
|
||||||
|
|
||||||
virtual void RunMessageLoop() OVERRIDE;
|
void RunMessageLoop() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Called when uv's watcher queue changes.
|
// Called when uv's watcher queue changes.
|
||||||
static void OnWatcherQueueChanged(uv_loop_t* loop);
|
static void OnWatcherQueueChanged(uv_loop_t* loop);
|
||||||
|
|
||||||
virtual void PollEvents() OVERRIDE;
|
void PollEvents() override;
|
||||||
|
|
||||||
// Kqueue to poll for uv's backend fd.
|
// Kqueue to poll for uv's backend fd.
|
||||||
int kqueue_;
|
int kqueue_;
|
||||||
|
|
|
@ -16,7 +16,7 @@ class NodeBindingsWin : public NodeBindings {
|
||||||
virtual ~NodeBindingsWin();
|
virtual ~NodeBindingsWin();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual void PollEvents() OVERRIDE;
|
void PollEvents() override;
|
||||||
|
|
||||||
DISALLOW_COPY_AND_ASSIGN(NodeBindingsWin);
|
DISALLOW_COPY_AND_ASSIGN(NodeBindingsWin);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue