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

Unified Diff: components/contextual_search/browser/contextual_search_js_api_service_impl.h

Issue 2483013002: Mojo C++ bindings: Remove more use_new_wrapper_types=false. (Closed)
Patch Set: . Created 4 years, 1 month 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/contextual_search/browser/contextual_search_js_api_service_impl.h
diff --git a/components/contextual_search/browser/contextual_search_js_api_service_impl.h b/components/contextual_search/browser/contextual_search_js_api_service_impl.h
index 0b5c8b19c47384c67c98dc7a0281b96da0e1cb38..d9111382a0a5ea64da4922074e4895ce2856cd37 100644
--- a/components/contextual_search/browser/contextual_search_js_api_service_impl.h
+++ b/components/contextual_search/browser/contextual_search_js_api_service_impl.h
@@ -8,7 +8,6 @@
#include "base/macros.h"
#include "components/contextual_search/browser/contextual_search_js_api_handler.h"
#include "components/contextual_search/common/contextual_search_js_api_service.mojom.h"
-#include "mojo/public/cpp/bindings/string.h"
namespace contextual_search {
@@ -21,7 +20,7 @@ class ContextualSearchJsApiServiceImpl
~ContextualSearchJsApiServiceImpl() override;
// Mojo ContextualSearchApiService implementation.
- void HandleSetCaption(const mojo::String& message, bool does_answer) override;
+ void HandleSetCaption(const std::string& message, bool does_answer) override;
private:
// The UI handler for calls through the JavaScript API.
« no previous file with comments | « components/contextual_search/BUILD.gn ('k') | components/contextual_search/browser/contextual_search_js_api_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698