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

Unified Diff: net/socket_stream/socket_stream_job_manager.h

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « net/socket_stream/socket_stream_job.cc ('k') | net/socket_stream/socket_stream_job_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket_stream/socket_stream_job_manager.h
diff --git a/net/socket_stream/socket_stream_job_manager.h b/net/socket_stream/socket_stream_job_manager.h
deleted file mode 100644
index 2363fb5eb9b55f31ad7cb2cba0738e4ce203a8b9..0000000000000000000000000000000000000000
--- a/net/socket_stream/socket_stream_job_manager.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2010 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 NET_SOCKET_STREAM_SOCKET_STREAM_JOB_MANAGER_H_
-#define NET_SOCKET_STREAM_SOCKET_STREAM_JOB_MANAGER_H_
-
-#include <map>
-#include <string>
-
-#include "net/socket_stream/socket_stream.h"
-#include "net/socket_stream/socket_stream_job.h"
-
-template <typename T> struct DefaultSingletonTraits;
-class GURL;
-
-namespace net {
-
-class SocketStreamJobManager {
- public:
- // Returns the singleton instance.
- static SocketStreamJobManager* GetInstance();
-
- SocketStreamJob* CreateJob(
- const GURL& url, SocketStream::Delegate* delegate,
- URLRequestContext* context, CookieStore* cookie_store) const;
-
- SocketStreamJob::ProtocolFactory* RegisterProtocolFactory(
- const std::string& scheme, SocketStreamJob::ProtocolFactory* factory);
-
- private:
- friend struct DefaultSingletonTraits<SocketStreamJobManager>;
- typedef std::map<std::string, SocketStreamJob::ProtocolFactory*> FactoryMap;
-
- SocketStreamJobManager();
- ~SocketStreamJobManager();
-
- mutable base::Lock lock_;
- FactoryMap factories_;
-
- DISALLOW_COPY_AND_ASSIGN(SocketStreamJobManager);
-};
-
-} // namespace net
-
-#endif // NET_SOCKET_STREAM_SOCKET_STREAM_JOB_MANAGER_H_
« no previous file with comments | « net/socket_stream/socket_stream_job.cc ('k') | net/socket_stream/socket_stream_job_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698