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

Unified Diff: chrome/browser/ui/search/search_ipc_router.h

Issue 2688453002: NTP: simplify mojo connection setup (Closed)
Patch Set: Merge Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/search/search_ipc_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/search_ipc_router.h
diff --git a/chrome/browser/ui/search/search_ipc_router.h b/chrome/browser/ui/search/search_ipc_router.h
index dd66614a88f57d16f307ea72b29e34be8006f37d..62bbfb1855dd21ccf550cc684bad309537128b9f 100644
--- a/chrome/browser/ui/search/search_ipc_router.h
+++ b/chrome/browser/ui/search/search_ipc_router.h
@@ -237,7 +237,10 @@ class SearchIPCRouter : public content::WebContentsObserver,
// Set to true, when the tab corresponding to |this| instance is active.
bool is_active_tab_;
- content::WebContentsFrameBindingSet<chrome::mojom::Instant> bindings_;
+ // Binding for the connected main frame. We only allow one frame to connect at
+ // the moment, but this could be extended to a map of connected frames, if
+ // desired.
+ mojo::AssociatedBinding<chrome::mojom::Instant> binding_;
std::unique_ptr<SearchBoxClientFactory> search_box_client_factory_;
« no previous file with comments | « no previous file | chrome/browser/ui/search/search_ipc_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698