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

Side by Side Diff: content/browser/android/java/gin_java_bridge_dispatcher_host.cc

Issue 629183002: Replacing the OVERRIDE with override and FINAL with final in content/browser/android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolving Error in android Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/android/java/gin_java_bridge_dispatcher_host.h" 5 #include "content/browser/android/java/gin_java_bridge_dispatcher_host.h"
6 6
7 #include "base/android/java_handler_thread.h" 7 #include "base/android/java_handler_thread.h"
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 void OnInvokeMethod(GinJavaBoundObject::ObjectID object_id, 284 void OnInvokeMethod(GinJavaBoundObject::ObjectID object_id,
285 const std::string& method_name, 285 const std::string& method_name,
286 const base::ListValue& arguments, 286 const base::ListValue& arguments,
287 IPC::Message* reply_msg) { 287 IPC::Message* reply_msg) {
288 gjbdh_->OnInvokeMethod(render_frame_host_, 288 gjbdh_->OnInvokeMethod(render_frame_host_,
289 object_id, 289 object_id,
290 method_name, 290 method_name,
291 arguments, 291 arguments,
292 reply_msg); 292 reply_msg);
293 } 293 }
294 virtual bool Send(IPC::Message* msg) OVERRIDE { 294 virtual bool Send(IPC::Message* msg) override {
295 NOTREACHED(); 295 NOTREACHED();
296 return false; 296 return false;
297 } 297 }
298 private: 298 private:
299 GinJavaBridgeDispatcherHost* gjbdh_; 299 GinJavaBridgeDispatcherHost* gjbdh_;
300 RenderFrameHost* render_frame_host_; 300 RenderFrameHost* render_frame_host_;
301 }; 301 };
302 302
303 } 303 }
304 304
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 pending_replies_.erase(it); 564 pending_replies_.erase(it);
565 return reply_msg; 565 return reply_msg;
566 } 566 }
567 567
568 bool GinJavaBridgeDispatcherHost::HasPendingReply( 568 bool GinJavaBridgeDispatcherHost::HasPendingReply(
569 RenderFrameHost* render_frame_host) const { 569 RenderFrameHost* render_frame_host) const {
570 return pending_replies_.find(render_frame_host) != pending_replies_.end(); 570 return pending_replies_.find(render_frame_host) != pending_replies_.end();
571 } 571 }
572 572
573 } // namespace content 573 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698