Commit e27b1ef2 authored by dcheng's avatar dcheng Committed by Commit bot

Update {virtual,override,final} to follow C++11 style.

The Google style guide states that only one of {virtual,override,final}
should be used for each declaration, since override implies virtual and
final implies both virtual and override.

This patch was automatically generated with an OS=android build using a
variation of https://codereview.chromium.org/598073004.

BUG=417463
R=caitkp@chromium.org

Review URL: https://codereview.chromium.org/893303003

Cr-Commit-Position: refs/heads/master@{#314677}
parent ed26438c
...@@ -39,7 +39,7 @@ class CrashDumpManager : public content::BrowserChildProcessObserver, ...@@ -39,7 +39,7 @@ class CrashDumpManager : public content::BrowserChildProcessObserver,
// Should be created on the UI thread. // Should be created on the UI thread.
explicit CrashDumpManager(const base::FilePath& crash_dump_dir); explicit CrashDumpManager(const base::FilePath& crash_dump_dir);
virtual ~CrashDumpManager(); ~CrashDumpManager() override;
// Returns a file that should be used to generate a minidump for the process // Returns a file that should be used to generate a minidump for the process
// |child_process_id|. // |child_process_id|.
...@@ -52,15 +52,15 @@ class CrashDumpManager : public content::BrowserChildProcessObserver, ...@@ -52,15 +52,15 @@ class CrashDumpManager : public content::BrowserChildProcessObserver,
base::ProcessHandle pid); base::ProcessHandle pid);
// content::BrowserChildProcessObserver implementation: // content::BrowserChildProcessObserver implementation:
virtual void BrowserChildProcessHostDisconnected( void BrowserChildProcessHostDisconnected(
const content::ChildProcessData& data) override; const content::ChildProcessData& data) override;
virtual void BrowserChildProcessCrashed( void BrowserChildProcessCrashed(
const content::ChildProcessData& data) override; const content::ChildProcessData& data) override;
// NotificationObserver implementation: // NotificationObserver implementation:
virtual void Observe(int type, void Observe(int type,
const content::NotificationSource& source, const content::NotificationSource& source,
const content::NotificationDetails& details) override; const content::NotificationDetails& details) override;
// Called on child process exit (including crash). // Called on child process exit (including crash).
void OnChildExit(int child_process_id, base::ProcessHandle pid); void OnChildExit(int child_process_id, base::ProcessHandle pid);
......
...@@ -30,7 +30,7 @@ namespace { ...@@ -30,7 +30,7 @@ namespace {
class BasicNetworkDelegate : public net::NetworkDelegateImpl { class BasicNetworkDelegate : public net::NetworkDelegateImpl {
public: public:
BasicNetworkDelegate() {} BasicNetworkDelegate() {}
virtual ~BasicNetworkDelegate() {} ~BasicNetworkDelegate() override {}
private: private:
// net::NetworkDelegate implementation. // net::NetworkDelegate implementation.
......
...@@ -49,7 +49,7 @@ class URLRequestAdapter : public net::URLRequest::Delegate { ...@@ -49,7 +49,7 @@ class URLRequestAdapter : public net::URLRequest::Delegate {
URLRequestAdapterDelegate* delegate, URLRequestAdapterDelegate* delegate,
GURL url, GURL url,
net::RequestPriority priority); net::RequestPriority priority);
virtual ~URLRequestAdapter(); ~URLRequestAdapter() override;
// Sets the request method GET, POST etc // Sets the request method GET, POST etc
void SetMethod(const std::string& method); void SetMethod(const std::string& method);
......
...@@ -39,7 +39,7 @@ net::NetworkChangeNotifier* g_network_change_notifier = nullptr; ...@@ -39,7 +39,7 @@ net::NetworkChangeNotifier* g_network_change_notifier = nullptr;
class BasicNetworkDelegate : public net::NetworkDelegateImpl { class BasicNetworkDelegate : public net::NetworkDelegateImpl {
public: public:
BasicNetworkDelegate() {} BasicNetworkDelegate() {}
virtual ~BasicNetworkDelegate() {} ~BasicNetworkDelegate() override {}
private: private:
// net::NetworkDelegate implementation. // net::NetworkDelegate implementation.
......
...@@ -37,7 +37,7 @@ class NetLogObserver : public net::NetLog::ThreadSafeObserver { ...@@ -37,7 +37,7 @@ class NetLogObserver : public net::NetLog::ThreadSafeObserver {
public: public:
NetLogObserver() {} NetLogObserver() {}
virtual ~NetLogObserver() {} ~NetLogObserver() override {}
void OnAddEntry(const net::NetLog::Entry& entry) override; void OnAddEntry(const net::NetLog::Entry& entry) override;
......
...@@ -26,16 +26,16 @@ class WrappedChannelElementReader : public net::UploadElementReader { ...@@ -26,16 +26,16 @@ class WrappedChannelElementReader : public net::UploadElementReader {
WrappedChannelElementReader( WrappedChannelElementReader(
scoped_refptr<URLRequestAdapter::URLRequestAdapterDelegate> delegate, scoped_refptr<URLRequestAdapter::URLRequestAdapterDelegate> delegate,
uint64 length); uint64 length);
virtual ~WrappedChannelElementReader(); ~WrappedChannelElementReader() override;
// UploadElementReader overrides: // UploadElementReader overrides:
virtual int Init(const net::CompletionCallback& callback) override; int Init(const net::CompletionCallback& callback) override;
virtual uint64 GetContentLength() const override; uint64 GetContentLength() const override;
virtual uint64 BytesRemaining() const override; uint64 BytesRemaining() const override;
virtual bool IsInMemory() const override; bool IsInMemory() const override;
virtual int Read(net::IOBuffer* buf, int Read(net::IOBuffer* buf,
int buf_length, int buf_length,
const net::CompletionCallback& callback) override; const net::CompletionCallback& callback) override;
private: private:
const uint64 length_; const uint64 length_;
......
...@@ -39,15 +39,15 @@ class PeerConnectionDelegateImpl ...@@ -39,15 +39,15 @@ class PeerConnectionDelegateImpl
connected_ = false; connected_ = false;
} }
virtual void OnIceConnectionChange(bool connected) override { void OnIceConnectionChange(bool connected) override {
JNIEnv* env = AttachCurrentThread(); JNIEnv* env = AttachCurrentThread();
Java_SessionDependencyFactoryNative_notifyIceConnectionChange( Java_SessionDependencyFactoryNative_notifyIceConnectionChange(
env, java_object_.obj(), connected); env, java_object_.obj(), connected);
} }
virtual void OnIceCandidate( void OnIceCandidate(const std::string& sdp_mid,
const std::string& sdp_mid, int sdp_mline_index, const std::string& sdp) int sdp_mline_index,
override { const std::string& sdp) override {
JNIEnv* env = AttachCurrentThread(); JNIEnv* env = AttachCurrentThread();
Java_SessionDependencyFactoryNative_notifyIceCandidate( Java_SessionDependencyFactoryNative_notifyIceCandidate(
env, java_object_.obj(), env, java_object_.obj(),
...@@ -62,29 +62,27 @@ class PeerConnectionDelegateImpl ...@@ -62,29 +62,27 @@ class PeerConnectionDelegateImpl
ConvertUTF8ToJavaString(env, description).obj()); ConvertUTF8ToJavaString(env, description).obj());
} }
virtual void OnLocalOfferCreatedAndSetSet(const std::string& description) void OnLocalOfferCreatedAndSetSet(const std::string& description) override {
override {
JNIEnv* env = AttachCurrentThread(); JNIEnv* env = AttachCurrentThread();
Java_SessionDependencyFactoryNative_notifyLocalOfferCreatedAndSetSet( Java_SessionDependencyFactoryNative_notifyLocalOfferCreatedAndSetSet(
env, java_object_.obj(), env, java_object_.obj(),
ConvertUTF8ToJavaString(env, description).obj()); ConvertUTF8ToJavaString(env, description).obj());
} }
virtual void OnLocalAnswerCreatedAndSetSet(const std::string& description) void OnLocalAnswerCreatedAndSetSet(const std::string& description) override {
override {
JNIEnv* env = AttachCurrentThread(); JNIEnv* env = AttachCurrentThread();
Java_SessionDependencyFactoryNative_notifyLocalAnswerCreatedAndSetSet( Java_SessionDependencyFactoryNative_notifyLocalAnswerCreatedAndSetSet(
env, java_object_.obj(), env, java_object_.obj(),
ConvertUTF8ToJavaString(env, description).obj()); ConvertUTF8ToJavaString(env, description).obj());
} }
virtual void OnRemoteDescriptionSet() override { void OnRemoteDescriptionSet() override {
JNIEnv* env = AttachCurrentThread(); JNIEnv* env = AttachCurrentThread();
Java_SessionDependencyFactoryNative_notifyRemoteDescriptionSet( Java_SessionDependencyFactoryNative_notifyRemoteDescriptionSet(
env, java_object_.obj()); env, java_object_.obj());
} }
virtual void OnFailure(const std::string& description) override { void OnFailure(const std::string& description) override {
JNIEnv* env = AttachCurrentThread(); JNIEnv* env = AttachCurrentThread();
Java_SessionDependencyFactoryNative_notifyConnectionFailure( Java_SessionDependencyFactoryNative_notifyConnectionFailure(
env, java_object_.obj(), env, java_object_.obj(),
...@@ -102,19 +100,19 @@ class DataChannelObserverImpl : public AbstractDataChannel::Observer { ...@@ -102,19 +100,19 @@ class DataChannelObserverImpl : public AbstractDataChannel::Observer {
java_object_.Reset(env, java_object); java_object_.Reset(env, java_object);
} }
virtual void OnOpen() override { void OnOpen() override {
JNIEnv* env = AttachCurrentThread(); JNIEnv* env = AttachCurrentThread();
Java_SessionDependencyFactoryNative_notifyChannelOpen( Java_SessionDependencyFactoryNative_notifyChannelOpen(
env, java_object_.obj()); env, java_object_.obj());
} }
virtual void OnClose() override { void OnClose() override {
JNIEnv* env = AttachCurrentThread(); JNIEnv* env = AttachCurrentThread();
Java_SessionDependencyFactoryNative_notifyChannelClose( Java_SessionDependencyFactoryNative_notifyChannelClose(
env, java_object_.obj()); env, java_object_.obj());
} }
virtual void OnMessage(const void* data, size_t length) override { void OnMessage(const void* data, size_t length) override {
JNIEnv* env = AttachCurrentThread(); JNIEnv* env = AttachCurrentThread();
ScopedJavaLocalRef<jobject> byte_buffer( ScopedJavaLocalRef<jobject> byte_buffer(
......
...@@ -14,17 +14,16 @@ namespace android { ...@@ -14,17 +14,16 @@ namespace android {
class SessionDependencyFactoryAndroid : public SessionDependencyFactory { class SessionDependencyFactoryAndroid : public SessionDependencyFactory {
public: public:
SessionDependencyFactoryAndroid(); SessionDependencyFactoryAndroid();
virtual ~SessionDependencyFactoryAndroid(); ~SessionDependencyFactoryAndroid() override;
static bool RegisterNatives(JNIEnv* env); static bool RegisterNatives(JNIEnv* env);
virtual scoped_ptr<AbstractPeerConnection> CreatePeerConnection( scoped_ptr<AbstractPeerConnection> CreatePeerConnection(
scoped_ptr<RTCConfiguration> config, scoped_ptr<RTCConfiguration> config,
scoped_ptr<AbstractPeerConnection::Delegate> delegate) override; scoped_ptr<AbstractPeerConnection::Delegate> delegate) override;
virtual scoped_refptr<base::TaskRunner> signaling_thread_task_runner() scoped_refptr<base::TaskRunner> signaling_thread_task_runner() override;
override; scoped_refptr<base::TaskRunner> io_thread_task_runner() override;
virtual scoped_refptr<base::TaskRunner> io_thread_task_runner() override;
private: private:
const scoped_ptr<SessionDependencyFactory> impl_; const scoped_ptr<SessionDependencyFactory> impl_;
......
...@@ -25,11 +25,9 @@ class RTCConfiguration::Impl ...@@ -25,11 +25,9 @@ class RTCConfiguration::Impl
: public RTCConfiguration, : public RTCConfiguration,
public webrtc::PeerConnectionInterface::RTCConfiguration { public webrtc::PeerConnectionInterface::RTCConfiguration {
public: public:
void AddIceServer(const std::string& uri,
virtual void AddIceServer( const std::string& username,
const std::string& uri, const std::string& credential) override {
const std::string& username,
const std::string& credential) override {
webrtc::PeerConnectionInterface::IceServer server; webrtc::PeerConnectionInterface::IceServer server;
server.uri = uri; server.uri = uri;
server.username = username; server.username = username;
...@@ -55,15 +53,11 @@ void CheckedRelease(rtc::scoped_refptr<T>* ptr) { ...@@ -55,15 +53,11 @@ void CheckedRelease(rtc::scoped_refptr<T>* ptr) {
class MediaConstraints class MediaConstraints
: public webrtc::MediaConstraintsInterface { : public webrtc::MediaConstraintsInterface {
public: public:
virtual ~MediaConstraints() {} ~MediaConstraints() override {}
virtual const Constraints& GetMandatory() const override { const Constraints& GetMandatory() const override { return mandatory_; }
return mandatory_;
}
virtual const Constraints& GetOptional() const override { const Constraints& GetOptional() const override { return optional_; }
return optional_;
}
void AddMandatory(const std::string& key, const std::string& value) { void AddMandatory(const std::string& key, const std::string& value) {
mandatory_.push_back(Constraint(key, value)); mandatory_.push_back(Constraint(key, value));
...@@ -133,7 +127,7 @@ class DataChannelObserverImpl : public webrtc::DataChannelObserver { ...@@ -133,7 +127,7 @@ class DataChannelObserverImpl : public webrtc::DataChannelObserver {
open_ = data_channel_->state() == webrtc::DataChannelInterface::kOpen; open_ = data_channel_->state() == webrtc::DataChannelInterface::kOpen;
} }
virtual void OnStateChange() override { void OnStateChange() override {
bool open = data_channel_->state() == webrtc::DataChannelInterface::kOpen; bool open = data_channel_->state() == webrtc::DataChannelInterface::kOpen;
if (open == open_) return; if (open == open_) return;
...@@ -146,7 +140,7 @@ class DataChannelObserverImpl : public webrtc::DataChannelObserver { ...@@ -146,7 +140,7 @@ class DataChannelObserverImpl : public webrtc::DataChannelObserver {
} }
} }
virtual void OnMessage(const webrtc::DataBuffer& buffer) override { void OnMessage(const webrtc::DataBuffer& buffer) override {
observer_->OnMessage(buffer.data.data(), buffer.size()); observer_->OnMessage(buffer.data.data(), buffer.size());
} }
...@@ -173,7 +167,7 @@ class DataChannelProxyImpl : public AbstractDataChannel::Proxy { ...@@ -173,7 +167,7 @@ class DataChannelProxyImpl : public AbstractDataChannel::Proxy {
data_channel_ = NULL; data_channel_ = NULL;
} }
virtual void SendBinaryMessage(const void* data, size_t length) override { void SendBinaryMessage(const void* data, size_t length) override {
auto buffer = make_scoped_ptr(new webrtc::DataBuffer(rtc::Buffer(), true)); auto buffer = make_scoped_ptr(new webrtc::DataBuffer(rtc::Buffer(), true));
buffer->data.SetData(data, length); buffer->data.SetData(data, length);
...@@ -184,7 +178,7 @@ class DataChannelProxyImpl : public AbstractDataChannel::Proxy { ...@@ -184,7 +178,7 @@ class DataChannelProxyImpl : public AbstractDataChannel::Proxy {
base::Passed(&buffer))); base::Passed(&buffer)));
} }
virtual void Close() override { void Close() override {
signaling_thread_task_runner_->PostTask( signaling_thread_task_runner_->PostTask(
FROM_HERE, base::Bind(&DataChannelProxyImpl::CloseOnSignalingThread, FROM_HERE, base::Bind(&DataChannelProxyImpl::CloseOnSignalingThread,
this)); this));
...@@ -221,30 +215,30 @@ class DataChannelImpl : public AbstractDataChannel { ...@@ -221,30 +215,30 @@ class DataChannelImpl : public AbstractDataChannel {
impl_(impl) { impl_(impl) {
} }
~DataChannelImpl() { ~DataChannelImpl() override {
if (proxy_.get()) { if (proxy_.get()) {
signaling_thread_->Invoke<void>(rtc::Bind( signaling_thread_->Invoke<void>(rtc::Bind(
&DataChannelProxyImpl::StopOnSignalingThread, proxy_.get())); &DataChannelProxyImpl::StopOnSignalingThread, proxy_.get()));
} }
} }
virtual void RegisterObserver(scoped_ptr<Observer> observer) override { void RegisterObserver(scoped_ptr<Observer> observer) override {
observer_.reset(new DataChannelObserverImpl(impl_.get(), observer.Pass())); observer_.reset(new DataChannelObserverImpl(impl_.get(), observer.Pass()));
signaling_thread_->Invoke<void>(rtc::Bind( signaling_thread_->Invoke<void>(rtc::Bind(
&DataChannelImpl::RegisterObserverOnSignalingThread, this)); &DataChannelImpl::RegisterObserverOnSignalingThread, this));
} }
virtual void UnregisterObserver() override { void UnregisterObserver() override {
DCHECK(observer_.get() != NULL); DCHECK(observer_.get() != NULL);
impl_->UnregisterObserver(); impl_->UnregisterObserver();
observer_.reset(); observer_.reset();
} }
virtual void SendBinaryMessage(void* data, size_t length) override { void SendBinaryMessage(void* data, size_t length) override {
SendMessage(data, length, true); SendMessage(data, length, true);
} }
virtual void SendTextMessage(void* data, size_t length) override { void SendTextMessage(void* data, size_t length) override {
SendMessage(data, length, false); SendMessage(data, length, false);
} }
...@@ -285,20 +279,18 @@ class PeerConnectionObserverImpl ...@@ -285,20 +279,18 @@ class PeerConnectionObserverImpl
connected_(false) { connected_(false) {
} }
virtual void OnAddStream(webrtc::MediaStreamInterface* stream) override {} void OnAddStream(webrtc::MediaStreamInterface* stream) override {}
virtual void OnRemoveStream(webrtc::MediaStreamInterface* stream) override {} void OnRemoveStream(webrtc::MediaStreamInterface* stream) override {}
virtual void OnDataChannel(webrtc::DataChannelInterface* data_channel) void OnDataChannel(webrtc::DataChannelInterface* data_channel) override {}
override {}
virtual void OnRenegotiationNeeded() override {} void OnRenegotiationNeeded() override {}
virtual void OnSignalingChange( void OnSignalingChange(
webrtc::PeerConnectionInterface::SignalingState new_state) override { webrtc::PeerConnectionInterface::SignalingState new_state) override {}
}
virtual void OnIceConnectionChange( void OnIceConnectionChange(
webrtc::PeerConnectionInterface::IceConnectionState new_state) override { webrtc::PeerConnectionInterface::IceConnectionState new_state) override {
bool connected = bool connected =
new_state == webrtc::PeerConnectionInterface::kIceConnectionConnected || new_state == webrtc::PeerConnectionInterface::kIceConnectionConnected ||
...@@ -310,8 +302,7 @@ class PeerConnectionObserverImpl ...@@ -310,8 +302,7 @@ class PeerConnectionObserverImpl
} }
} }
virtual void OnIceCandidate(const webrtc::IceCandidateInterface* candidate) void OnIceCandidate(const webrtc::IceCandidateInterface* candidate) override {
override {
std::string sdp; std::string sdp;
candidate->ToString(&sdp); candidate->ToString(&sdp);
...@@ -341,9 +332,7 @@ class PeerConnectionHolder : public rtc::RefCountInterface { ...@@ -341,9 +332,7 @@ class PeerConnectionHolder : public rtc::RefCountInterface {
disposed_(false) { disposed_(false) {
} }
virtual ~PeerConnectionHolder() { ~PeerConnectionHolder() override { DCHECK(disposed_); }
DCHECK(disposed_);
}
void Dispose() { void Dispose() {
DCHECK(!IsDisposed()); DCHECK(!IsDisposed());
...@@ -381,7 +370,7 @@ class CreateAndSetHandler ...@@ -381,7 +370,7 @@ class CreateAndSetHandler
: holder_(holder) { : holder_(holder) {
} }
virtual void OnSuccess(webrtc::SessionDescriptionInterface* desc) override { void OnSuccess(webrtc::SessionDescriptionInterface* desc) override {
if (holder_->IsDisposed()) return; if (holder_->IsDisposed()) return;
type_ = desc->type(); type_ = desc->type();
...@@ -392,7 +381,7 @@ class CreateAndSetHandler ...@@ -392,7 +381,7 @@ class CreateAndSetHandler
} }
} }
virtual void OnSuccess() override { void OnSuccess() override {
if (holder_->IsDisposed()) return; if (holder_->IsDisposed()) return;
if (type_ == webrtc::SessionDescriptionInterface::kOffer) { if (type_ == webrtc::SessionDescriptionInterface::kOffer) {
...@@ -404,7 +393,7 @@ class CreateAndSetHandler ...@@ -404,7 +393,7 @@ class CreateAndSetHandler
} }
} }
virtual void OnFailure(const std::string& error) override { void OnFailure(const std::string& error) override {
if (holder_->IsDisposed()) return; if (holder_->IsDisposed()) return;
holder_->delegate()->OnFailure(error); holder_->delegate()->OnFailure(error);
...@@ -424,13 +413,13 @@ class SetRemoteDescriptionHandler ...@@ -424,13 +413,13 @@ class SetRemoteDescriptionHandler
: holder_(holder) { : holder_(holder) {
} }
virtual void OnSuccess() override { void OnSuccess() override {
if (holder_->IsDisposed()) return; if (holder_->IsDisposed()) return;
holder_->delegate()->OnRemoteDescriptionSet(); holder_->delegate()->OnRemoteDescriptionSet();
} }
virtual void OnFailure(const std::string& error) override { void OnFailure(const std::string& error) override {
if (holder_->IsDisposed()) return; if (holder_->IsDisposed()) return;
holder_->delegate()->OnFailure(error); holder_->delegate()->OnFailure(error);
...@@ -457,25 +446,25 @@ class PeerConnectionImpl : public AbstractPeerConnection { ...@@ -457,25 +446,25 @@ class PeerConnectionImpl : public AbstractPeerConnection {
delegate_(delegate.Pass()) { delegate_(delegate.Pass()) {
} }
virtual ~PeerConnectionImpl() { ~PeerConnectionImpl() override {
signaling_thread_->Invoke<void>(rtc::Bind( signaling_thread_->Invoke<void>(rtc::Bind(
&PeerConnectionImpl::DisposeOnSignalingThread, this)); &PeerConnectionImpl::DisposeOnSignalingThread, this));
} }
virtual void CreateAndSetLocalOffer() override { void CreateAndSetLocalOffer() override {
connection_->CreateOffer(MakeCreateAndSetHandler(), NULL); connection_->CreateOffer(MakeCreateAndSetHandler(), NULL);
} }
virtual void CreateAndSetLocalAnswer() override { void CreateAndSetLocalAnswer() override {
connection_->CreateAnswer(MakeCreateAndSetHandler(), NULL); connection_->CreateAnswer(MakeCreateAndSetHandler(), NULL);
} }
virtual void SetRemoteOffer(const std::string& description) override { void SetRemoteOffer(const std::string& description) override {
SetRemoteDescription( SetRemoteDescription(
webrtc::SessionDescriptionInterface::kOffer, description); webrtc::SessionDescriptionInterface::kOffer, description);
} }
virtual void SetRemoteAnswer(const std::string& description) override { void SetRemoteAnswer(const std::string& description) override {
SetRemoteDescription( SetRemoteDescription(
webrtc::SessionDescriptionInterface::kAnswer, description); webrtc::SessionDescriptionInterface::kAnswer, description);
} }
...@@ -495,10 +484,9 @@ class PeerConnectionImpl : public AbstractPeerConnection { ...@@ -495,10 +484,9 @@ class PeerConnectionImpl : public AbstractPeerConnection {
value.release()); value.release());
} }
virtual void AddIceCandidate( void AddIceCandidate(const std::string& sdp_mid,
const std::string& sdp_mid, int sdp_mline_index,
int sdp_mline_index, const std::string& sdp) override {
const std::string& sdp) override {
webrtc::SdpParseError error; webrtc::SdpParseError error;
auto candidate = webrtc::CreateIceCandidate( auto candidate = webrtc::CreateIceCandidate(
sdp_mid, sdp_mline_index, sdp, &error); sdp_mid, sdp_mline_index, sdp, &error);
...@@ -511,8 +499,7 @@ class PeerConnectionImpl : public AbstractPeerConnection { ...@@ -511,8 +499,7 @@ class PeerConnectionImpl : public AbstractPeerConnection {
delete candidate; delete candidate;
} }
virtual scoped_ptr<AbstractDataChannel> CreateDataChannel( scoped_ptr<AbstractDataChannel> CreateDataChannel(int channelId) override {
int channelId) override {
webrtc::DataChannelInit init; webrtc::DataChannelInit init;
init.ordered = true; init.ordered = true;
init.negotiated = true; init.negotiated = true;
...@@ -562,7 +549,7 @@ class SessionDependencyFactoryImpl : public SessionDependencyFactory { ...@@ -562,7 +549,7 @@ class SessionDependencyFactoryImpl : public SessionDependencyFactory {
&worker_thread_, &signaling_thread_, NULL, NULL, NULL); &worker_thread_, &signaling_thread_, NULL, NULL, NULL);
} }
virtual ~SessionDependencyFactoryImpl() { ~SessionDependencyFactoryImpl() override {
if (signaling_thread_task_runner_.get()) if (signaling_thread_task_runner_.get())
signaling_thread_task_runner_->Stop(); signaling_thread_task_runner_->Stop();
...@@ -570,7 +557,7 @@ class SessionDependencyFactoryImpl : public SessionDependencyFactory { ...@@ -570,7 +557,7 @@ class SessionDependencyFactoryImpl : public SessionDependencyFactory {
&SessionDependencyFactoryImpl::DisposeOnSignalingThread, this)); &SessionDependencyFactoryImpl::DisposeOnSignalingThread, this));
} }
virtual scoped_ptr<AbstractPeerConnection> CreatePeerConnection( scoped_ptr<AbstractPeerConnection> CreatePeerConnection(
scoped_ptr<RTCConfiguration> config, scoped_ptr<RTCConfiguration> config,
scoped_ptr<AbstractPeerConnection::Delegate> delegate) override { scoped_ptr<AbstractPeerConnection::Delegate> delegate) override {
auto observer = make_scoped_ptr( auto observer = make_scoped_ptr(
......
...@@ -56,7 +56,7 @@ class SocketTunnelServer::Connection : public SocketTunnelConnection { ...@@ -56,7 +56,7 @@ class SocketTunnelServer::Connection : public SocketTunnelConnection {
ReadNextChunk(); ReadNextChunk();
} }
virtual void OnReadError(int error) override { void OnReadError(int error) override {
socket()->Disconnect(); socket()->Disconnect();
SendControlPacket(SERVER_CLOSE); SendControlPacket(SERVER_CLOSE);
delegate_->RemoveConnection(index_); delegate_->RemoveConnection(index_);
......
...@@ -40,9 +40,9 @@ class DistilledPagePrefsObserverAndroid : public DistilledPagePrefs::Observer { ...@@ -40,9 +40,9 @@ class DistilledPagePrefsObserverAndroid : public DistilledPagePrefs::Observer {
virtual ~DistilledPagePrefsObserverAndroid(); virtual ~DistilledPagePrefsObserverAndroid();
// DistilledPagePrefs::Observer implementation. // DistilledPagePrefs::Observer implementation.
virtual void OnChangeFontFamily( void OnChangeFontFamily(
DistilledPagePrefs::FontFamily new_font_family) override; DistilledPagePrefs::FontFamily new_font_family) override;
virtual void OnChangeTheme(DistilledPagePrefs::Theme new_theme) override; void OnChangeTheme(DistilledPagePrefs::Theme new_theme) override;
virtual void DestroyObserverAndroid(JNIEnv* env, jobject obj); virtual void DestroyObserverAndroid(JNIEnv* env, jobject obj);
......
...@@ -18,7 +18,7 @@ namespace gcm { ...@@ -18,7 +18,7 @@ namespace gcm {
class GCMDriverAndroid : public GCMDriver { class GCMDriverAndroid : public GCMDriver {
public: public:
GCMDriverAndroid(); GCMDriverAndroid();
virtual ~GCMDriverAndroid(); ~GCMDriverAndroid() override;
// Methods called from Java via JNI: // Methods called from Java via JNI:
void OnRegisterFinished(JNIEnv* env, void OnRegisterFinished(JNIEnv* env,
...@@ -44,40 +44,36 @@ class GCMDriverAndroid : public GCMDriver { ...@@ -44,40 +44,36 @@ class GCMDriverAndroid : public GCMDriver {
static bool RegisterBindings(JNIEnv* env); static bool RegisterBindings(JNIEnv* env);
// GCMDriver implementation: // GCMDriver implementation:
virtual void OnSignedIn() override; void OnSignedIn() override;
virtual void OnSignedOut() override; void OnSignedOut() override;
virtual void Enable() override; void Enable() override;
virtual void AddConnectionObserver(GCMConnectionObserver* observer) override; void AddConnectionObserver(GCMConnectionObserver* observer) override;
virtual void RemoveConnectionObserver( void RemoveConnectionObserver(GCMConnectionObserver* observer) override;
GCMConnectionObserver* observer) override; void Disable() override;
virtual void Disable() override; GCMClient* GetGCMClientForTesting() const override;
virtual GCMClient* GetGCMClientForTesting() const override; bool IsStarted() const override;
virtual bool IsStarted() const override; bool IsConnected() const override;
virtual bool IsConnected() const override; void GetGCMStatistics(const GetGCMStatisticsCallback& callback,
virtual void GetGCMStatistics(const GetGCMStatisticsCallback& callback, bool clear_logs) override;
bool clear_logs) override; void SetGCMRecording(const GetGCMStatisticsCallback& callback,
virtual void SetGCMRecording(const GetGCMStatisticsCallback& callback, bool recording) override;
bool recording) override; void SetAccountTokens(
virtual void SetAccountTokens(
const std::vector<GCMClient::AccountTokenInfo>& account_tokens) override; const std::vector<GCMClient::AccountTokenInfo>& account_tokens) override;
virtual void UpdateAccountMapping( void UpdateAccountMapping(const AccountMapping& account_mapping) override;
const AccountMapping& account_mapping) override; void RemoveAccountMapping(const std::string& account_id) override;
virtual void RemoveAccountMapping(const std::string& account_id) override; base::Time GetLastTokenFetchTime() override;
virtual base::Time GetLastTokenFetchTime() override; void SetLastTokenFetchTime(const base::Time& time) override;
virtual void SetLastTokenFetchTime(const base::Time& time) override; void WakeFromSuspendForHeartbeat(bool wake) override;
virtual void WakeFromSuspendForHeartbeat(bool wake) override;
protected: protected:
// GCMDriver implementation: // GCMDriver implementation:
virtual GCMClient::Result EnsureStarted( GCMClient::Result EnsureStarted(GCMClient::StartMode start_mode) override;
GCMClient::StartMode start_mode) override; void RegisterImpl(const std::string& app_id,
virtual void RegisterImpl( const std::vector<std::string>& sender_ids) override;
const std::string& app_id, void UnregisterImpl(const std::string& app_id) override;
const std::vector<std::string>& sender_ids) override; void SendImpl(const std::string& app_id,
virtual void UnregisterImpl(const std::string& app_id) override; const std::string& receiver_id,
virtual void SendImpl(const std::string& app_id, const GCMClient::OutgoingMessage& message) override;
const std::string& receiver_id,
const GCMClient::OutgoingMessage& message) override;
private: private:
base::android::ScopedJavaGlobalRef<jobject> java_ref_; base::android::ScopedJavaGlobalRef<jobject> java_ref_;
......
...@@ -15,14 +15,14 @@ class AndroidURLsDatabase; ...@@ -15,14 +15,14 @@ class AndroidURLsDatabase;
class AndroidURLsSQLHandler : public SQLHandler { class AndroidURLsSQLHandler : public SQLHandler {
public: public:
explicit AndroidURLsSQLHandler(AndroidURLsDatabase* android_urls_db); explicit AndroidURLsSQLHandler(AndroidURLsDatabase* android_urls_db);
virtual ~AndroidURLsSQLHandler(); ~AndroidURLsSQLHandler() override;
virtual bool Update(const HistoryAndBookmarkRow& row, bool Update(const HistoryAndBookmarkRow& row,
const TableIDRows& ids_set) override; const TableIDRows& ids_set) override;
virtual bool Insert(HistoryAndBookmarkRow* row) override; bool Insert(HistoryAndBookmarkRow* row) override;
virtual bool Delete(const TableIDRows& ids_set) override; bool Delete(const TableIDRows& ids_set) override;
private: private:
AndroidURLsDatabase* android_urls_db_; AndroidURLsDatabase* android_urls_db_;
......
...@@ -15,13 +15,13 @@ class ThumbnailDatabase; ...@@ -15,13 +15,13 @@ class ThumbnailDatabase;
class FaviconSQLHandler : public SQLHandler { class FaviconSQLHandler : public SQLHandler {
public: public:
explicit FaviconSQLHandler(ThumbnailDatabase* thumbnail_db); explicit FaviconSQLHandler(ThumbnailDatabase* thumbnail_db);
virtual ~FaviconSQLHandler(); ~FaviconSQLHandler() override;
// SQLHandler overrides: // SQLHandler overrides:
virtual bool Update(const HistoryAndBookmarkRow& row, bool Update(const HistoryAndBookmarkRow& row,
const TableIDRows& ids_set) override; const TableIDRows& ids_set) override;
virtual bool Delete(const TableIDRows& ids_set) override; bool Delete(const TableIDRows& ids_set) override;
virtual bool Insert(HistoryAndBookmarkRow* row) override; bool Insert(HistoryAndBookmarkRow* row) override;
private: private:
// Deletes the given favicons if they are not used by any pages. Returns // Deletes the given favicons if they are not used by any pages. Returns
......
...@@ -15,13 +15,13 @@ class URLDatabase; ...@@ -15,13 +15,13 @@ class URLDatabase;
class UrlsSQLHandler : public SQLHandler { class UrlsSQLHandler : public SQLHandler {
public: public:
explicit UrlsSQLHandler(URLDatabase* url_db); explicit UrlsSQLHandler(URLDatabase* url_db);
virtual ~UrlsSQLHandler(); ~UrlsSQLHandler() override;
// Overriden from SQLHandler. // Overriden from SQLHandler.
virtual bool Insert(HistoryAndBookmarkRow* row) override; bool Insert(HistoryAndBookmarkRow* row) override;
virtual bool Update(const HistoryAndBookmarkRow& row, bool Update(const HistoryAndBookmarkRow& row,
const TableIDRows& ids_set) override; const TableIDRows& ids_set) override;
virtual bool Delete(const TableIDRows& ids_set) override; bool Delete(const TableIDRows& ids_set) override;
private: private:
URLDatabase* url_db_; URLDatabase* url_db_;
......
...@@ -20,13 +20,13 @@ class VisitDatabase; ...@@ -20,13 +20,13 @@ class VisitDatabase;
class VisitSQLHandler : public SQLHandler { class VisitSQLHandler : public SQLHandler {
public: public:
VisitSQLHandler(URLDatabase* url_db, VisitDatabase* visit_db); VisitSQLHandler(URLDatabase* url_db, VisitDatabase* visit_db);
virtual ~VisitSQLHandler(); ~VisitSQLHandler() override;
// Overriden from SQLHandler. // Overriden from SQLHandler.
virtual bool Update(const HistoryAndBookmarkRow& row, bool Update(const HistoryAndBookmarkRow& row,
const TableIDRows& ids_set) override; const TableIDRows& ids_set) override;
virtual bool Insert(HistoryAndBookmarkRow* row) override; bool Insert(HistoryAndBookmarkRow* row) override;
virtual bool Delete(const TableIDRows& ids_set) override; bool Delete(const TableIDRows& ids_set) override;
private: private:
// Add a row in visit table with the given |url_id| and |visit_time|. // Add a row in visit table with the given |url_id| and |visit_time|.
......
...@@ -30,27 +30,25 @@ class InvalidationServiceAndroid ...@@ -30,27 +30,25 @@ class InvalidationServiceAndroid
public InvalidationService { public InvalidationService {
public: public:
InvalidationServiceAndroid(jobject context); InvalidationServiceAndroid(jobject context);
virtual ~InvalidationServiceAndroid(); ~InvalidationServiceAndroid() override;
// InvalidationService implementation. // InvalidationService implementation.
// //
// Note that this implementation does not properly support Ack-tracking, // Note that this implementation does not properly support Ack-tracking,
// fetching the invalidator state, or querying the client's ID. Support for // fetching the invalidator state, or querying the client's ID. Support for
// exposing the client ID should be available soon; see crbug.com/172391. // exposing the client ID should be available soon; see crbug.com/172391.
virtual void RegisterInvalidationHandler( void RegisterInvalidationHandler(
syncer::InvalidationHandler* handler) override; syncer::InvalidationHandler* handler) override;
virtual void UpdateRegisteredInvalidationIds( void UpdateRegisteredInvalidationIds(syncer::InvalidationHandler* handler,
syncer::InvalidationHandler* handler, const syncer::ObjectIdSet& ids) override;
const syncer::ObjectIdSet& ids) override; void UnregisterInvalidationHandler(
virtual void UnregisterInvalidationHandler(
syncer::InvalidationHandler* handler) override; syncer::InvalidationHandler* handler) override;
virtual syncer::InvalidatorState GetInvalidatorState() const override; syncer::InvalidatorState GetInvalidatorState() const override;
virtual std::string GetInvalidatorClientId() const override; std::string GetInvalidatorClientId() const override;
virtual InvalidationLogger* GetInvalidationLogger() override; InvalidationLogger* GetInvalidationLogger() override;
virtual void RequestDetailedStatus( void RequestDetailedStatus(
base::Callback<void(const base::DictionaryValue&)> caller) const base::Callback<void(const base::DictionaryValue&)> caller) const override;
override; IdentityProvider* GetIdentityProvider() override;
virtual IdentityProvider* GetIdentityProvider() override;
void RequestSync(JNIEnv* env, void RequestSync(JNIEnv* env,
jobject obj, jobject obj,
......
...@@ -17,7 +17,7 @@ class InvalidationServiceAndroidTest : public testing::Test { ...@@ -17,7 +17,7 @@ class InvalidationServiceAndroidTest : public testing::Test {
public: public:
InvalidationServiceAndroidTest() : InvalidationServiceAndroidTest() :
invalidation_service_(base::android::GetApplicationContext()) {} invalidation_service_(base::android::GetApplicationContext()) {}
virtual ~InvalidationServiceAndroidTest() {} ~InvalidationServiceAndroidTest() override {}
InvalidationService& invalidation_service() { InvalidationService& invalidation_service() {
return invalidation_service_; return invalidation_service_;
......
...@@ -38,7 +38,7 @@ class NavigationParams; ...@@ -38,7 +38,7 @@ class NavigationParams;
class InterceptNavigationDelegate : public base::SupportsUserData::Data { class InterceptNavigationDelegate : public base::SupportsUserData::Data {
public: public:
InterceptNavigationDelegate(JNIEnv* env, jobject jdelegate); InterceptNavigationDelegate(JNIEnv* env, jobject jdelegate);
virtual ~InterceptNavigationDelegate(); ~InterceptNavigationDelegate() override;
// Associates the InterceptNavigationDelegate with a WebContents using the // Associates the InterceptNavigationDelegate with a WebContents using the
// SupportsUserData mechanism. // SupportsUserData mechanism.
......
...@@ -18,7 +18,7 @@ class Schema; ...@@ -18,7 +18,7 @@ class Schema;
class POLICY_EXPORT PolicyProviderAndroid : public ConfigurationPolicyProvider { class POLICY_EXPORT PolicyProviderAndroid : public ConfigurationPolicyProvider {
public: public:
PolicyProviderAndroid(); PolicyProviderAndroid();
virtual ~PolicyProviderAndroid(); ~PolicyProviderAndroid() override;
// Call this method to tell the policy system whether it should wait for // Call this method to tell the policy system whether it should wait for
// policies to be loaded by this provider. If this method is called, // policies to be loaded by this provider. If this method is called,
...@@ -33,9 +33,9 @@ class POLICY_EXPORT PolicyProviderAndroid : public ConfigurationPolicyProvider { ...@@ -33,9 +33,9 @@ class POLICY_EXPORT PolicyProviderAndroid : public ConfigurationPolicyProvider {
void SetPolicies(scoped_ptr<PolicyBundle> policy); void SetPolicies(scoped_ptr<PolicyBundle> policy);
// ConfigurationPolicyProvider: // ConfigurationPolicyProvider:
virtual void Shutdown() override; void Shutdown() override;
virtual bool IsInitializationComplete(PolicyDomain domain) const override; bool IsInitializationComplete(PolicyDomain domain) const override;
virtual void RefreshPolicies() override; void RefreshPolicies() override;
private: private:
PolicyProviderAndroidDelegate* delegate_; PolicyProviderAndroidDelegate* delegate_;
......
...@@ -60,10 +60,10 @@ class PolicyProviderAndroidTestFixture { ...@@ -60,10 +60,10 @@ class PolicyProviderAndroidTestFixture {
class PolicyProviderAndroidTest : public ::testing::Test { class PolicyProviderAndroidTest : public ::testing::Test {
protected: protected:
PolicyProviderAndroidTest(); PolicyProviderAndroidTest();
virtual ~PolicyProviderAndroidTest(); ~PolicyProviderAndroidTest() override;
virtual void SetUp() override; void SetUp() override;
virtual void TearDown() override; void TearDown() override;
private: private:
DISALLOW_COPY_AND_ASSIGN(PolicyProviderAndroidTest); DISALLOW_COPY_AND_ASSIGN(PolicyProviderAndroidTest);
......
...@@ -28,13 +28,13 @@ class ColorChooserAndroid : public content::ColorChooser { ...@@ -28,13 +28,13 @@ class ColorChooserAndroid : public content::ColorChooser {
ColorChooserAndroid(content::WebContents* tab, ColorChooserAndroid(content::WebContents* tab,
SkColor initial_color, SkColor initial_color,
const std::vector<content::ColorSuggestion>& suggestions); const std::vector<content::ColorSuggestion>& suggestions);
virtual ~ColorChooserAndroid(); ~ColorChooserAndroid() override;
void OnColorChosen(JNIEnv* env, jobject obj, jint color); void OnColorChosen(JNIEnv* env, jobject obj, jint color);
// ColorChooser interface // ColorChooser interface
virtual void End() override; void End() override;
virtual void SetSelectedColor(SkColor color) override; void SetSelectedColor(SkColor color) override;
private: private:
base::android::ScopedJavaGlobalRef<jobject> j_color_chooser_; base::android::ScopedJavaGlobalRef<jobject> j_color_chooser_;
......
...@@ -43,7 +43,7 @@ enum WebContentsDelegateLogLevel { ...@@ -43,7 +43,7 @@ enum WebContentsDelegateLogLevel {
class WebContentsDelegateAndroid : public content::WebContentsDelegate { class WebContentsDelegateAndroid : public content::WebContentsDelegate {
public: public:
WebContentsDelegateAndroid(JNIEnv* env, jobject obj); WebContentsDelegateAndroid(JNIEnv* env, jobject obj);
virtual ~WebContentsDelegateAndroid(); ~WebContentsDelegateAndroid() override;
// Binds this WebContentsDelegateAndroid to the passed WebContents instance, // Binds this WebContentsDelegateAndroid to the passed WebContents instance,
// such that when that WebContents is destroyed, this // such that when that WebContents is destroyed, this
...@@ -51,33 +51,31 @@ class WebContentsDelegateAndroid : public content::WebContentsDelegate { ...@@ -51,33 +51,31 @@ class WebContentsDelegateAndroid : public content::WebContentsDelegate {
void SetOwnerWebContents(content::WebContents* contents); void SetOwnerWebContents(content::WebContents* contents);
// Overridden from WebContentsDelegate: // Overridden from WebContentsDelegate:
virtual content::WebContents* OpenURLFromTab( content::WebContents* OpenURLFromTab(
content::WebContents* source, content::WebContents* source,
const content::OpenURLParams& params) override; const content::OpenURLParams& params) override;
virtual content::ColorChooser* OpenColorChooser( content::ColorChooser* OpenColorChooser(
content::WebContents* source, content::WebContents* source,
SkColor color, SkColor color,
const std::vector<content::ColorSuggestion>& suggestions) override; const std::vector<content::ColorSuggestion>& suggestions) override;
virtual void NavigationStateChanged( void NavigationStateChanged(content::WebContents* source,
content::WebContents* source, content::InvalidateTypes changed_flags) override;
content::InvalidateTypes changed_flags) override; void VisibleSSLStateChanged(const content::WebContents* source) override;
virtual void VisibleSSLStateChanged( void ActivateContents(content::WebContents* contents) override;
const content::WebContents* source) override; void DeactivateContents(content::WebContents* contents) override;
virtual void ActivateContents(content::WebContents* contents) override; void LoadingStateChanged(content::WebContents* source,
virtual void DeactivateContents(content::WebContents* contents) override; bool to_different_document) override;
virtual void LoadingStateChanged(content::WebContents* source, void LoadProgressChanged(content::WebContents* source,
bool to_different_document) override; double load_progress) override;
virtual void LoadProgressChanged(content::WebContents* source, void RendererUnresponsive(content::WebContents* source) override;
double load_progress) override; void RendererResponsive(content::WebContents* source) override;
virtual void RendererUnresponsive(content::WebContents* source) override; void DidNavigateToPendingEntry(content::WebContents* source) override;
virtual void RendererResponsive(content::WebContents* source) override; void WebContentsCreated(content::WebContents* source_contents,
virtual void DidNavigateToPendingEntry(content::WebContents* source) override; int opener_render_frame_id,
virtual void WebContentsCreated(content::WebContents* source_contents, const base::string16& frame_name,
int opener_render_frame_id, const GURL& target_url,
const base::string16& frame_name, content::WebContents* new_contents) override;
const GURL& target_url, bool ShouldCreateWebContents(
content::WebContents* new_contents) override;
virtual bool ShouldCreateWebContents(
content::WebContents* web_contents, content::WebContents* web_contents,
int route_id, int route_id,
int main_frame_route_id, int main_frame_route_id,
...@@ -86,38 +84,33 @@ class WebContentsDelegateAndroid : public content::WebContentsDelegate { ...@@ -86,38 +84,33 @@ class WebContentsDelegateAndroid : public content::WebContentsDelegate {
const GURL& target_url, const GURL& target_url,
const std::string& partition_id, const std::string& partition_id,
content::SessionStorageNamespace* session_storage_namespace) override; content::SessionStorageNamespace* session_storage_namespace) override;
virtual bool OnGoToEntryOffset(int offset) override; bool OnGoToEntryOffset(int offset) override;
virtual void CloseContents(content::WebContents* source) override; void CloseContents(content::WebContents* source) override;
virtual void MoveContents(content::WebContents* source, void MoveContents(content::WebContents* source,
const gfx::Rect& pos) override; const gfx::Rect& pos) override;
virtual bool AddMessageToConsole(content::WebContents* source, bool AddMessageToConsole(content::WebContents* source,
int32 level, int32 level,
const base::string16& message, const base::string16& message,
int32 line_no, int32 line_no,
const base::string16& source_id) override; const base::string16& source_id) override;
virtual void UpdateTargetURL(content::WebContents* source, void UpdateTargetURL(content::WebContents* source, const GURL& url) override;
const GURL& url) override; void HandleKeyboardEvent(
virtual void HandleKeyboardEvent(
content::WebContents* source, content::WebContents* source,
const content::NativeWebKeyboardEvent& event) override; const content::NativeWebKeyboardEvent& event) override;
virtual bool TakeFocus(content::WebContents* source, bool reverse) override; bool TakeFocus(content::WebContents* source, bool reverse) override;
virtual void ShowRepostFormWarningDialog( void ShowRepostFormWarningDialog(content::WebContents* source) override;
content::WebContents* source) override; void EnterFullscreenModeForTab(content::WebContents* web_contents,
virtual void EnterFullscreenModeForTab(content::WebContents* web_contents, const GURL& origin) override;
const GURL& origin) override; void ExitFullscreenModeForTab(content::WebContents* web_contents) override;
virtual void ExitFullscreenModeForTab( bool IsFullscreenForTabOrPending(
content::WebContents* web_contents) override;
virtual bool IsFullscreenForTabOrPending(
const content::WebContents* web_contents) const override; const content::WebContents* web_contents) const override;
virtual void ShowValidationMessage(content::WebContents* web_contents, void ShowValidationMessage(content::WebContents* web_contents,
const gfx::Rect& anchor_in_root_view, const gfx::Rect& anchor_in_root_view,
const base::string16& main_text, const base::string16& main_text,
const base::string16& sub_text) override; const base::string16& sub_text) override;
virtual void HideValidationMessage( void HideValidationMessage(content::WebContents* web_contents) override;
content::WebContents* web_contents) override; void MoveValidationMessage(content::WebContents* web_contents,
virtual void MoveValidationMessage( const gfx::Rect& anchor_in_root_view) override;
content::WebContents* web_contents,
const gfx::Rect& anchor_in_root_view) override;
protected: protected:
base::android::ScopedJavaLocalRef<jobject> GetJavaDelegate(JNIEnv* env) const; base::android::ScopedJavaLocalRef<jobject> GetJavaDelegate(JNIEnv* env) const;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment