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

Unified Diff: services/navigation/navigation.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 | « services/navigation/manifest.json ('k') | services/navigation/navigation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/navigation.h
diff --git a/services/navigation/navigation.h b/services/navigation/navigation.h
deleted file mode 100644
index d085485fd07e318e6f1fc8fb4a690b45aec5861a..0000000000000000000000000000000000000000
--- a/services/navigation/navigation.h
+++ /dev/null
@@ -1,57 +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 SERVICES_NAVIGATION_NAVIGATION_H_
-#define SERVICES_NAVIGATION_NAVIGATION_H_
-
-#include "base/memory/ref_counted.h"
-#include "base/sequenced_task_runner.h"
-#include "content/public/common/connection_filter.h"
-#include "mojo/public/cpp/bindings/binding_set.h"
-#include "services/navigation/public/interfaces/view.mojom.h"
-#include "services/service_manager/public/cpp/binder_registry.h"
-#include "services/service_manager/public/cpp/service.h"
-#include "services/service_manager/public/cpp/service_context_ref.h"
-
-namespace navigation {
-
-std::unique_ptr<service_manager::Service> CreateNavigationService();
-
-class Navigation : public service_manager::Service, public mojom::ViewFactory {
- public:
- Navigation();
- ~Navigation() override;
-
- private:
- // service_manager::Service:
- void OnBindInterface(const service_manager::BindSourceInfo& source_info,
- const std::string& interface_name,
- mojo::ScopedMessagePipeHandle interface_pipe) override;
-
- // mojom::ViewFactory:
- void CreateView(mojom::ViewClientPtr client,
- mojom::ViewRequest request) override;
-
- void BindViewFactoryRequest(
- const service_manager::BindSourceInfo& source_info,
- mojom::ViewFactoryRequest request);
-
- void ViewFactoryLost();
-
- scoped_refptr<base::SequencedTaskRunner> view_task_runner_;
-
- std::string client_user_id_;
-
- service_manager::ServiceContextRefFactory ref_factory_;
- std::set<std::unique_ptr<service_manager::ServiceContextRef>> refs_;
-
- service_manager::BinderRegistry registry_;
- mojo::BindingSet<mojom::ViewFactory> bindings_;
-
- DISALLOW_COPY_AND_ASSIGN(Navigation);
-};
-
-} // navigation
-
-#endif // SERVICES_NAVIGATION_NAVIGATION_H_
« no previous file with comments | « services/navigation/manifest.json ('k') | services/navigation/navigation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698