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

Unified Diff: mandoline/tab/frame_services.cc

Issue 1166123005: Removes ServiceProviders from ViewManager::Embed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use is_headless rather than check for browser. Created 5 years, 6 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 | « mandoline/tab/frame_services.h ('k') | mandoline/ui/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/tab/frame_services.cc
diff --git a/mandoline/tab/frame_services.cc b/mandoline/tab/frame_services.cc
deleted file mode 100644
index ea64a41820be21cc3fde86c1eb6bbd20cf0a4867..0000000000000000000000000000000000000000
--- a/mandoline/tab/frame_services.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "mandoline/tab/frame_services.h"
-
-#include "mojo/application/public/cpp/connect.h"
-
-namespace mandoline {
-
-FrameServices::FrameServices() {
-}
-
-FrameServices::~FrameServices() {
-}
-
-void FrameServices::Init(
- mojo::InterfaceRequest<mojo::ServiceProvider>* services,
- mojo::ServiceProviderPtr* exposed_services) {
- *services = GetProxy(&services_).Pass();
-
- if (exposed_services) {
- mojo::ServiceProviderPtr exposed_services_ptr;
- exposed_services_.Bind(GetProxy(&exposed_services_ptr));
- *exposed_services = exposed_services_ptr.Pass();
- }
-
- mojo::ConnectToService(services_.get(), &frame_tree_client_);
-}
-
-} // namespace mandoline
« no previous file with comments | « mandoline/tab/frame_services.h ('k') | mandoline/ui/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698