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

Unified Diff: mojo/application_manager/shell_impl.h

Issue 814273005: Move application_manager from /mojo to /shell. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Update include guards. Created 5 years, 11 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 | « mojo/application_manager/application_manager_unittest.cc ('k') | mojo/application_manager/shell_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/application_manager/shell_impl.h
diff --git a/mojo/application_manager/shell_impl.h b/mojo/application_manager/shell_impl.h
deleted file mode 100644
index 58e30666e9eff13e3fcba64f77c28915b6d88b2b..0000000000000000000000000000000000000000
--- a/mojo/application_manager/shell_impl.h
+++ /dev/null
@@ -1,62 +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 MOJO_APPLICATION_MANAGER_SHELL_IMPL_H_
-#define MOJO_APPLICATION_MANAGER_SHELL_IMPL_H_
-
-#include "mojo/public/cpp/bindings/binding.h"
-#include "mojo/public/cpp/bindings/error_handler.h"
-#include "mojo/public/interfaces/application/application.mojom.h"
-#include "mojo/public/interfaces/application/shell.mojom.h"
-#include "url/gurl.h"
-
-namespace mojo {
-class ApplicationManager;
-
-class ShellImpl : public Shell, public ErrorHandler {
- public:
- ShellImpl(ScopedMessagePipeHandle handle,
- ApplicationManager* manager,
- const GURL& requested_url,
- const GURL& url);
-
- ShellImpl(ShellPtr* ptr,
- ApplicationManager* manager,
- const GURL& requested_url,
- const GURL& url);
-
- ~ShellImpl() override;
-
- void ConnectToClient(const GURL& requestor_url,
- InterfaceRequest<ServiceProvider> services,
- ServiceProviderPtr exposed_services);
-
- Application* client() { return binding_.client(); }
- const GURL& url() const { return url_; }
- const GURL& requested_url() const { return requested_url_; }
-
- private:
- ShellImpl(ApplicationManager* manager,
- const GURL& requested_url,
- const GURL& url);
-
- // Shell implementation:
- void ConnectToApplication(const String& app_url,
- InterfaceRequest<ServiceProvider> services,
- ServiceProviderPtr exposed_services) override;
-
- // ErrorHandler implementation:
- void OnConnectionError() override;
-
- ApplicationManager* const manager_;
- const GURL requested_url_;
- const GURL url_;
- Binding<Shell> binding_;
-
- DISALLOW_COPY_AND_ASSIGN(ShellImpl);
-};
-
-} // namespace mojo
-
-#endif // MOJO_APPLICATION_MANAGER_SHELL_IMPL_H_
« no previous file with comments | « mojo/application_manager/application_manager_unittest.cc ('k') | mojo/application_manager/shell_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698