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

Unified Diff: mash/browser/browser.h

Issue 2901613002: Remove navigation_service_unittests, along with the service itself. (Closed)
Patch Set: Fix isolate files? Created 3 years, 7 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 | « mash/browser/DEPS ('k') | mash/browser/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/browser/browser.h
diff --git a/mash/browser/browser.h b/mash/browser/browser.h
deleted file mode 100644
index b73c534feff466aca459438acb8a58190c9250e0..0000000000000000000000000000000000000000
--- a/mash/browser/browser.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright 2016 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 MASH_BROWSER_BROWSER_H_
-#define MASH_BROWSER_BROWSER_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "mash/public/interfaces/launchable.mojom.h"
-#include "mojo/public/cpp/bindings/binding_set.h"
-#include "services/service_manager/public/cpp/binder_registry.h"
-#include "services/service_manager/public/cpp/service.h"
-
-namespace navigation {
-class View;
-}
-
-namespace views {
-class AuraInit;
-class Widget;
-}
-
-namespace mash {
-namespace browser {
-
-class Browser : public service_manager::Service, public mojom::Launchable {
- public:
- Browser();
- ~Browser() override;
-
- // Start/stop tracking individual browser windows. When we no longer track any
- // browser windows, the application terminates. The Browser object does not
- // own these widgets.
- void AddWindow(views::Widget* window);
- void RemoveWindow(views::Widget* window);
-
- std::unique_ptr<navigation::View> CreateView();
-
- private:
- // service_manager::Service:
- void OnStart() override;
- void OnBindInterface(const service_manager::BindSourceInfo& source_info,
- const std::string& interface_name,
- mojo::ScopedMessagePipeHandle interface_pipe) override;
-
- // mojom::Launchable:
- void Launch(uint32_t what, mojom::LaunchMode how) override;
-
- void Create(const service_manager::BindSourceInfo& source_info,
- mojom::LaunchableRequest request);
-
- mojo::BindingSet<mojom::Launchable> bindings_;
- std::vector<views::Widget*> windows_;
-
- service_manager::BinderRegistry registry_;
-
- std::unique_ptr<views::AuraInit> aura_init_;
-
- DISALLOW_COPY_AND_ASSIGN(Browser);
-};
-
-} // namespace browser
-} // namespace mash
-
-#endif // MASH_BROWSER_BROWSER_H_
« no previous file with comments | « mash/browser/DEPS ('k') | mash/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698