summaryrefslogtreecommitdiff
path: root/chromium/content/browser/media/webrtc_identity_store_backend.cc
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2013-10-29 12:15:29 +0100
committerZeno Albisser <zeno.albisser@digia.com>2013-10-29 12:26:04 +0100
commiteca36f26ad3765fdaf954735bd5744e2a16154f1 (patch)
tree823cfb158c4d26b825dea6387b0a348ebb936ddc /chromium/content/browser/media/webrtc_identity_store_backend.cc
parent8db32b21af616e363072d88f73b89359b1dc713a (diff)
downloadqtwebengine-chromium-eca36f26ad3765fdaf954735bd5744e2a16154f1.tar.gz
Do not forward declare UIResourceRequest, Identity and IdentityKey.
Clang / libc++ does not support incomplete types in templates. See: http://clang.llvm.org/compatibility.html#undep_incomplete This patch will be squashed into the next chromium update. Change-Id: I46131d53494007548444bc4d158c2208a012ece4 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'chromium/content/browser/media/webrtc_identity_store_backend.cc')
-rw-r--r--chromium/content/browser/media/webrtc_identity_store_backend.cc37
1 files changed, 0 insertions, 37 deletions
diff --git a/chromium/content/browser/media/webrtc_identity_store_backend.cc b/chromium/content/browser/media/webrtc_identity_store_backend.cc
index 9ec73e92f69..4188116bc71 100644
--- a/chromium/content/browser/media/webrtc_identity_store_backend.cc
+++ b/chromium/content/browser/media/webrtc_identity_store_backend.cc
@@ -46,43 +46,6 @@ static bool InitDB(sql::Connection* db) {
"creation_time INTEGER)");
}
-struct WebRTCIdentityStoreBackend::IdentityKey {
- IdentityKey(const GURL& origin, const std::string& identity_name)
- : origin(origin), identity_name(identity_name) {}
-
- bool operator<(const IdentityKey& other) const {
- return origin < other.origin ||
- (origin == other.origin && identity_name < other.identity_name);
- }
-
- GURL origin;
- std::string identity_name;
-};
-
-struct WebRTCIdentityStoreBackend::Identity {
- Identity(const std::string& common_name,
- const std::string& certificate,
- const std::string& private_key)
- : common_name(common_name),
- certificate(certificate),
- private_key(private_key),
- creation_time(base::Time::Now().ToInternalValue()) {}
-
- Identity(const std::string& common_name,
- const std::string& certificate,
- const std::string& private_key,
- int64 creation_time)
- : common_name(common_name),
- certificate(certificate),
- private_key(private_key),
- creation_time(creation_time) {}
-
- std::string common_name;
- std::string certificate;
- std::string private_key;
- int64 creation_time;
-};
-
struct WebRTCIdentityStoreBackend::PendingFindRequest {
PendingFindRequest(const GURL& origin,
const std::string& identity_name,