Skip to content

Commit

Permalink
Remove reference to nonexistent "register_callback_overwrites_"
Browse files Browse the repository at this point in the history
Bug: 
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I5eddc8605d1088b275edba9344c0184e67de6f2f
Reviewed-on: https://chromium-review.googlesource.com/757064
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Jochen Eisinger <jochen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518191}
  • Loading branch information
nicholasbishop authored and Commit Bot committed Nov 21, 2017
1 parent 8a2b818 commit d47b7e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions content/public/browser/web_ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ class CONTENT_EXPORT WebUI {
std::unique_ptr<WebUIMessageHandler> handler) = 0;

// Used by WebUIMessageHandlers. If the given message is already registered,
// the call has no effect unless |register_callback_overwrites_| is set to
// true.
// the call has no effect.
typedef base::Callback<void(const base::ListValue*)> MessageCallback;
virtual void RegisterMessageCallback(const std::string& message,
const MessageCallback& callback) = 0;
Expand Down
3 changes: 1 addition & 2 deletions ios/web/public/webui/web_ui_ios.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ class WebUIIOS {
std::unique_ptr<WebUIIOSMessageHandler> handler) = 0;

// Used by WebUIIOSMessageHandlers. If the given message is already
// registered, the call has no effect unless |register_callback_overwrites_|
// is set to true.
// registered, the call has no effect.
typedef base::Callback<void(const base::ListValue*)> MessageCallback;
virtual void RegisterMessageCallback(const std::string& message,
const MessageCallback& callback) = 0;
Expand Down

0 comments on commit d47b7e7

Please sign in to comment.