ApplicationConnection devolution, part 2.3.
A.k.a. nuke InterfaceFactory, part 3.
I also noticed that I previously forgot to call AddService() in
tracing_app.cc.
R=vardhan@google.com
BUG=probably has something to do with #775 and #776 (may fix them)
Review URL: https://codereview.chromium.org/1980763002 .
diff --git a/services/url_response_disk_cache/url_response_disk_cache_app.h b/services/url_response_disk_cache/url_response_disk_cache_app.h
index 7e0715c..52d4e14 100644
--- a/services/url_response_disk_cache/url_response_disk_cache_app.h
+++ b/services/url_response_disk_cache/url_response_disk_cache_app.h
@@ -12,15 +12,13 @@
#include "mojo/public/cpp/application/application_connection.h"
#include "mojo/public/cpp/application/application_delegate.h"
#include "mojo/public/cpp/application/application_impl.h"
-#include "mojo/public/cpp/application/interface_factory.h"
#include "mojo/services/url_response_disk_cache/interfaces/url_response_disk_cache.mojom.h"
#include "services/url_response_disk_cache/url_response_disk_cache_db.h"
#include "services/url_response_disk_cache/url_response_disk_cache_delegate.h"
namespace mojo {
-class URLResponseDiskCacheApp : public ApplicationDelegate,
- public InterfaceFactory<URLResponseDiskCache> {
+class URLResponseDiskCacheApp : public ApplicationDelegate {
public:
explicit URLResponseDiskCacheApp(scoped_refptr<base::TaskRunner> task_runner,
URLResponseDiskCacheDelegate* delegate);
@@ -31,10 +29,6 @@
void Initialize(ApplicationImpl* app) override;
bool ConfigureIncomingConnection(ApplicationConnection* connection) override;
- // InterfaceFactory<URLResponseDiskCache>:
- void Create(const ConnectionContext& connection_context,
- InterfaceRequest<URLResponseDiskCache> request) override;
-
scoped_refptr<base::TaskRunner> task_runner_;
scoped_refptr<URLResponseDiskCacheDB> db_;
URLResponseDiskCacheDelegate* delegate_;