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

Unified Diff: components/omnibox/browser/mock_autocomplete_provider_client.h

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: components/omnibox/browser/mock_autocomplete_provider_client.h
diff --git a/components/omnibox/browser/mock_autocomplete_provider_client.h b/components/omnibox/browser/mock_autocomplete_provider_client.h
index 5367ba37fe72180ae3c91f6d85dabed1cbb502a7..af390d30f9d458add1f21913e48c64b12082ccd9 100644
--- a/components/omnibox/browser/mock_autocomplete_provider_client.h
+++ b/components/omnibox/browser/mock_autocomplete_provider_client.h
@@ -6,6 +6,7 @@
#define COMPONENTS_OMNIBOX_BROWSER_MOCK_AUTOCOMPLETE_PROVIDER_CLIENT_H_
#include <string>
+#include <utility>
#include "base/macros.h"
#include "components/omnibox/browser/autocomplete_provider_client.h"
@@ -78,7 +79,7 @@ class MockAutocompleteProviderClient : public AutocompleteProviderClient {
MOCK_METHOD1(PrefetchImage, void(const GURL& url));
void set_template_url_service(scoped_ptr<TemplateURLService> service) {
- template_url_service_ = service.Pass();
+ template_url_service_ = std::move(service);
}
private:
« no previous file with comments | « components/omnibox/browser/keyword_provider_unittest.cc ('k') | components/omnibox/browser/omnibox_edit_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698