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

Unified Diff: mojo/shell/network_application_loader.h

Issue 687433002: Remove mojo/shell and (most) service implementations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove mojo/gles2, disable mojo apps in component build Created 6 years, 2 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/shell/mojo_url_resolver_unittest.cc ('k') | mojo/shell/network_application_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/network_application_loader.h
diff --git a/mojo/shell/network_application_loader.h b/mojo/shell/network_application_loader.h
deleted file mode 100644
index 0f426b0aa62f3529a932c11a2e583a29d007316c..0000000000000000000000000000000000000000
--- a/mojo/shell/network_application_loader.h
+++ /dev/null
@@ -1,57 +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_SHELL_NETWORK_APPLICATION_LOADER_H_
-#define MOJO_SHELL_NETWORK_APPLICATION_LOADER_H_
-
-#include "base/containers/scoped_ptr_hash_map.h"
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "mojo/application_manager/application_loader.h"
-#include "mojo/public/cpp/application/application_delegate.h"
-#include "mojo/public/cpp/application/interface_factory.h"
-#include "mojo/services/network/network_context.h"
-
-namespace mojo {
-
-class ApplicationImpl;
-class NetworkService;
-
-namespace shell {
-
-// ApplicationLoader responsible for creating connections to the NetworkService.
-class NetworkApplicationLoader : public ApplicationLoader,
- public ApplicationDelegate,
- public InterfaceFactory<NetworkService> {
- public:
- NetworkApplicationLoader();
- virtual ~NetworkApplicationLoader();
-
- private:
- // ApplicationLoader overrides:
- virtual void Load(ApplicationManager* manager,
- const GURL& url,
- scoped_refptr<LoadCallbacks> callbacks) override;
- virtual void OnApplicationError(ApplicationManager* manager,
- const GURL& url) override;
-
- // ApplicationDelegate overrides.
- virtual void Initialize(ApplicationImpl* app) override;
- virtual bool ConfigureIncomingConnection(
- ApplicationConnection* connection) override;
-
- // InterfaceFactory<NetworkService> overrides.
- virtual void Create(ApplicationConnection* connection,
- InterfaceRequest<NetworkService> request) override;
-
- base::ScopedPtrHashMap<uintptr_t, ApplicationImpl> apps_;
- scoped_ptr<NetworkContext> context_;
-
- DISALLOW_COPY_AND_ASSIGN(NetworkApplicationLoader);
-};
-
-} // namespace shell
-} // namespace mojo
-
-#endif // MOJO_SHELL_NETWORK_APPLICATION_LOADER_H_
« no previous file with comments | « mojo/shell/mojo_url_resolver_unittest.cc ('k') | mojo/shell/network_application_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698