New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 676317 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

[Remote suggestions] RemoteSuggestionsProvider: switch from unique_ptr to value passing

Project Member Reported by jkrcal@chromium.org, Dec 21 2016

Issue description

The RemoteSuggestionsProvider interface expected callbacks to be wrapped as unique_ptrs. This is not needed any more because the Callbacks themselves supports move semantics very well.

 - "nullptr" can be replaced by "Callback<type>()"
 - "if (callback)" conditions can stay the same (Callbacks also have bool() operator)

 

Comment 1 by fi...@chromium.org, Dec 22 2016

Labels: zine-triaged

Comment 3 by jkrcal@chromium.org, Mar 30 2017

Status: Fixed (was: Assigned)

Sign in to add a comment