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

Unified Diff: services/navigation/view_impl.h

Issue 2138263002: Revert of Move content's shell connections to the IO thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « services/navigation/navigation.cc ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/view_impl.h
diff --git a/services/navigation/view_impl.h b/services/navigation/view_impl.h
index ad9b7edc13f1d77170958770349a03b816992419..427afa13005aefeb8298b8b2bc27f123c943199a 100644
--- a/services/navigation/view_impl.h
+++ b/services/navigation/view_impl.h
@@ -4,8 +4,6 @@
#ifndef SERVICES_NAVIGATION_VIEW_IMPL_H_
#define SERVICES_NAVIGATION_VIEW_IMPL_H_
-
-#include <memory>
#include "base/macros.h"
#include "content/public/browser/notification_observer.h"
@@ -34,7 +32,7 @@
public ui::WindowTreeClientDelegate,
public views::WidgetDelegate {
public:
- ViewImpl(std::unique_ptr<shell::Connector> connector,
+ ViewImpl(shell::Connector* connector,
const std::string& client_user_id,
mojom::ViewClientPtr client,
mojom::ViewRequest request,
@@ -89,7 +87,7 @@
views::Widget* GetWidget() override;
const views::Widget* GetWidget() const override;
- std::unique_ptr<shell::Connector> connector_;
+ shell::Connector* connector_;
mojo::StrongBinding<mojom::View> binding_;
mojom::ViewClientPtr client_;
std::unique_ptr<shell::ServiceContextRef> ref_;
« no previous file with comments | « services/navigation/navigation.cc ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698