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

Unified Diff: trunk/src/mojo/service_manager/service_manager.h

Issue 447063005: Revert 288013 "First cut at "content handling" support in Mojo." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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 | « trunk/src/mojo/service_manager/service_loader.cc ('k') | trunk/src/mojo/service_manager/service_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/mojo/service_manager/service_manager.h
===================================================================
--- trunk/src/mojo/service_manager/service_manager.h (revision 288042)
+++ trunk/src/mojo/service_manager/service_manager.h (working copy)
@@ -10,7 +10,6 @@
#include "base/basictypes.h"
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
-#include "base/memory/weak_ptr.h"
#include "mojo/public/interfaces/application/service_provider.mojom.h"
#include "mojo/service_manager/service_loader.h"
#include "mojo/service_manager/service_manager_export.h"
@@ -88,31 +87,11 @@
void TerminateShellConnections();
private:
- struct ContentHandlerConnection;
- class LoadCallbacksImpl;
class ShellImpl;
-
typedef std::map<std::string, ServiceLoader*> SchemeToLoaderMap;
typedef std::map<GURL, ServiceLoader*> URLToLoaderMap;
typedef std::map<GURL, ShellImpl*> URLToShellImplMap;
- typedef std::map<GURL, ContentHandlerConnection*> URLToContentHandlerMap;
- void ConnectToClient(ShellImpl* shell_impl,
- const GURL& url,
- const GURL& requestor_url,
- ServiceProviderPtr service_provider);
-
- void RegisterLoadedApplication(const GURL& service_url,
- const GURL& requestor_url,
- ServiceProviderPtr service_provider,
- ScopedMessagePipeHandle* shell_handle);
-
- void LoadWithContentHandler(const GURL& content_url,
- const GURL& requestor_url,
- const GURL& content_handler_url,
- URLResponsePtr content,
- ServiceProviderPtr service_provider);
-
// Returns the Loader to use for a url (using default if not overridden.)
// The preference is to use a loader that's been specified for an url first,
// then one that's been specified for a scheme, then the default.
@@ -128,10 +107,7 @@
Interceptor* interceptor_;
URLToShellImplMap url_to_shell_impl_;
- URLToContentHandlerMap url_to_content_handler_;
- base::WeakPtrFactory<ServiceManager> weak_ptr_factory_;
-
DISALLOW_COPY_AND_ASSIGN(ServiceManager);
};
« no previous file with comments | « trunk/src/mojo/service_manager/service_loader.cc ('k') | trunk/src/mojo/service_manager/service_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698