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

Unified Diff: mojo/shell/profile_service_loader.h

Issue 395163002: Bundle the network service in the shell on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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/network_service_loader.cc ('k') | mojo/shell/profile_service_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/profile_service_loader.h
diff --git a/mojo/shell/profile_service_loader.h b/mojo/shell/profile_service_loader.h
deleted file mode 100644
index bbb5d821d516c4cddc8efe0b162572ccc0109eb1..0000000000000000000000000000000000000000
--- a/mojo/shell/profile_service_loader.h
+++ /dev/null
@@ -1,48 +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_PROFILE_SERVICE_LOADER_H_
-#define MOJO_SHELL_PROFILE_SERVICE_LOADER_H_
-
-#include <map>
-
-#include "base/containers/scoped_ptr_hash_map.h"
-#include "base/memory/scoped_ptr.h"
-#include "mojo/public/cpp/application/application_delegate.h"
-#include "mojo/service_manager/service_loader.h"
-
-namespace mojo {
-
-class ApplicationImpl;
-
-namespace shell {
-
-// ServiceLoader responsible for creating connections to the ProfileService.
-class ProfileServiceLoader : public ServiceLoader, public ApplicationDelegate {
- public:
- ProfileServiceLoader();
- virtual ~ProfileServiceLoader();
-
- private:
- // ServiceLoader overrides:
- virtual void LoadService(
- ServiceManager* manager,
- const GURL& url,
- ScopedMessagePipeHandle shell_handle) OVERRIDE;
- virtual void OnServiceError(ServiceManager* manager,
- const GURL& url) OVERRIDE;
-
- // ApplicationDelegate overrides.
- virtual bool ConfigureIncomingConnection(ApplicationConnection* connection)
- MOJO_OVERRIDE;
-
- base::ScopedPtrHashMap<uintptr_t, ApplicationImpl> apps_;
-
- DISALLOW_COPY_AND_ASSIGN(ProfileServiceLoader);
-};
-
-} // namespace shell
-} // namespace mojo
-
-#endif // MOJO_SHELL_PROFILE_SERVICE_LOADER_H_
« no previous file with comments | « mojo/shell/network_service_loader.cc ('k') | mojo/shell/profile_service_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698