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

Unified Diff: net/base/crypto_module.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « net/base/connection_type_histograms.cc ('k') | net/base/crypto_module_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/crypto_module.h
diff --git a/net/base/crypto_module.h b/net/base/crypto_module.h
deleted file mode 100644
index be876ef7807e710d860aa7f4e57711dd67abd15c..0000000000000000000000000000000000000000
--- a/net/base/crypto_module.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2011 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_BASE_CRYPTO_MODULE_H_
-#define NET_BASE_CRYPTO_MODULE_H_
-
-#include <string>
-#include <vector>
-
-#include "base/memory/ref_counted.h"
-#include "net/base/net_export.h"
-
-#if defined(USE_NSS)
-typedef struct PK11SlotInfoStr PK11SlotInfo;
-#endif
-
-namespace net {
-
-class CryptoModule;
-
-typedef std::vector<scoped_refptr<CryptoModule> > CryptoModuleList;
-
-class NET_EXPORT CryptoModule
- : public base::RefCountedThreadSafe<CryptoModule> {
- public:
-#if defined(USE_NSS)
- typedef PK11SlotInfo* OSModuleHandle;
-#else
- typedef void* OSModuleHandle;
-#endif
-
- OSModuleHandle os_module_handle() const { return module_handle_; }
-
- std::string GetTokenName() const;
-
- static CryptoModule* CreateFromHandle(OSModuleHandle handle);
-
- private:
- friend class base::RefCountedThreadSafe<CryptoModule>;
-
- explicit CryptoModule(OSModuleHandle handle);
- ~CryptoModule();
-
- OSModuleHandle module_handle_;
-
- DISALLOW_COPY_AND_ASSIGN(CryptoModule);
-};
-
-} // namespace net
-
-#endif // NET_BASE_CRYPTO_MODULE_H_
« no previous file with comments | « net/base/connection_type_histograms.cc ('k') | net/base/crypto_module_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698