explicit PPB_Broker_Impl(PP_Instance instance);
// Resource override.
- virtual ppapi::thunk::PPB_Broker_API* AsPPB_Broker_API() OVERRIDE;
+ ppapi::thunk::PPB_Broker_API* AsPPB_Broker_API() override;
// PPB_BrokerTrusted implementation.
- virtual int32_t Connect(
- scoped_refptr<ppapi::TrackedCallback> connect_callback) OVERRIDE;
- virtual int32_t GetHandle(int32_t* handle) OVERRIDE;
+ int32_t Connect(
+ scoped_refptr<ppapi::TrackedCallback> connect_callback) override;
+ int32_t GetHandle(int32_t* handle) override;
// Returns the URL of the document this plug-in runs in. This is necessary to
// decide whether to grant access to the PPAPI broker.
void BrokerConnected(int32_t handle, int32_t result);
private:
- virtual ~PPB_Broker_Impl();
+ ~PPB_Broker_Impl() override;
// IPC::Listener implementation.
- virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
+ bool OnMessageReceived(const IPC::Message& message) override;
void OnPpapiBrokerChannelCreated(base::ProcessId broker_pid,
const IPC::ChannelHandle& handle);