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

Unified Diff: mojo/public/shell/application.h

Issue 219583003: Mojo: Move mojo/public/shell to mojo/public/{cpp,interfaces}/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/public/interfaces/shell/shell.mojom ('k') | mojo/public/shell/lib/application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/shell/application.h
diff --git a/mojo/public/shell/application.h b/mojo/public/shell/application.h
deleted file mode 100644
index 7896637d36db493971bd97b702d674ebdf905ada..0000000000000000000000000000000000000000
--- a/mojo/public/shell/application.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2014 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_PUBLIC_SHELL_APPLICATION_H_
-#define MOJO_PUBLIC_SHELL_APPLICATION_H_
-
-#include <vector>
-
-#include "mojo/public/bindings/remote_ptr.h"
-#include "mojo/public/cpp/system/core.h"
-#include "mojo/public/shell/service.h"
-#include "mojo/public/shell/shell.mojom.h"
-
-namespace mojo {
-
-class Application : public internal::ServiceFactoryBase::Owner {
- public:
- explicit Application(ScopedShellHandle shell_handle);
- explicit Application(MojoHandle shell_handle);
- virtual ~Application();
-
- // internal::ServiceFactoryBase::Owner methods.
- // Takes ownership of |service_factory|.
- virtual void AddServiceFactory(internal::ServiceFactoryBase* service_factory)
- MOJO_OVERRIDE;
- virtual void RemoveServiceFactory(
- internal::ServiceFactoryBase* service_factory) MOJO_OVERRIDE;
-
- protected:
- // ShellClient methods.
- virtual void AcceptConnection(const mojo::String& url,
- ScopedMessagePipeHandle client_handle)
- MOJO_OVERRIDE;
-
- private:
- typedef std::vector<internal::ServiceFactoryBase*> ServiceFactoryList;
- ServiceFactoryList service_factories_;
-};
-
-} // namespace mojo
-
-#endif // MOJO_PUBLIC_SHELL_APPLICATION_H_
« no previous file with comments | « mojo/public/interfaces/shell/shell.mojom ('k') | mojo/public/shell/lib/application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698