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

Unified Diff: mandoline/tab/frame_services.h

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_connection.cc ('k') | mandoline/tab/frame_services.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/tab/frame_services.h
diff --git a/mandoline/tab/frame_services.h b/mandoline/tab/frame_services.h
deleted file mode 100644
index fc7ea6547ab706bbf065fb7002a8d8e074c9928e..0000000000000000000000000000000000000000
--- a/mandoline/tab/frame_services.h
+++ /dev/null
@@ -1,38 +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.
-
-#ifndef MANDOLINE_TAB_FRAME_SERVICES_H_
-#define MANDOLINE_TAB_FRAME_SERVICES_H_
-
-#include "base/basictypes.h"
-#include "mandoline/tab/frame_user_data.h"
-#include "mandoline/tab/public/interfaces/frame_tree.mojom.h"
-#include "mojo/application/public/cpp/service_provider_impl.h"
-
-namespace mandoline {
-
-// FrameServices is a FrameUserData that manages the ServiceProviders exposed
-// to each client. It is also responsible for obtaining the FrameTreeClient
-// from the remote side.
-class FrameServices : public FrameUserData {
- public:
- FrameServices();
- ~FrameServices() override;
-
- void Init(mojo::InterfaceRequest<mojo::ServiceProvider>* services,
- mojo::ServiceProviderPtr* exposed_services);
-
- FrameTreeClient* frame_tree_client() { return frame_tree_client_.get(); }
-
- private:
- mojo::ServiceProviderImpl exposed_services_;
- mojo::ServiceProviderPtr services_;
- FrameTreeClientPtr frame_tree_client_;
-
- DISALLOW_COPY_AND_ASSIGN(FrameServices);
-};
-
-} // namespace mandoline
-
-#endif // MANDOLINE_TAB_FRAME_SERVICES_H_
« no previous file with comments | « mandoline/tab/frame_connection.cc ('k') | mandoline/tab/frame_services.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698