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

Unified Diff: content/renderer/media/peer_connection_identity_store.h

Issue 2033353002: Remove PeerConnectionIdentityStore and related messaging/storage code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delayed deletion by 120s Created 4 years, 6 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
Index: content/renderer/media/peer_connection_identity_store.h
diff --git a/content/renderer/media/peer_connection_identity_store.h b/content/renderer/media/peer_connection_identity_store.h
deleted file mode 100644
index 3172a2cabf400ab1ec61485fd3cca4b190ecb86d..0000000000000000000000000000000000000000
--- a/content/renderer/media/peer_connection_identity_store.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2015 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 CONTENT_RENDERER_MEDIA_PEER_CONNECTION_IDENTITY_STORE_H_
-#define CONTENT_RENDERER_MEDIA_PEER_CONNECTION_IDENTITY_STORE_H_
-
-#include "base/macros.h"
-#include "base/single_thread_task_runner.h"
-#include "base/threading/thread_checker.h"
-#include "third_party/webrtc/api/dtlsidentitystore.h"
-#include "third_party/webrtc/base/optional.h"
-#include "url/gurl.h"
-
-namespace content {
-
-// This class is associated with a peer connection and handles WebRTC DTLS
-// identity requests by delegating to the per-renderer WebRTCIdentityProxy.
-// TODO(hbos): Remove this store, it is no longer used.
-// See bugs.webrtc.org/5707, bugs.webrtc.org/5708.
-class PeerConnectionIdentityStore
- : public webrtc::DtlsIdentityStoreInterface {
- public:
- PeerConnectionIdentityStore(
- const scoped_refptr<base::SingleThreadTaskRunner>& main_thread,
- const scoped_refptr<base::SingleThreadTaskRunner>& signaling_thread,
- const GURL& origin,
- const GURL& first_party_for_cookies);
- ~PeerConnectionIdentityStore() override;
-
- // webrtc::DtlsIdentityStoreInterface override;
- void RequestIdentity(
- const rtc::KeyParams& key_params,
- const rtc::Optional<uint64_t>& expires_ms,
- const rtc::scoped_refptr<webrtc::DtlsIdentityRequestObserver>& observer)
- override;
-
- private:
- const scoped_refptr<base::SingleThreadTaskRunner> main_thread_;
- const scoped_refptr<base::SingleThreadTaskRunner> signaling_thread_;
- const GURL url_;
- const GURL first_party_for_cookies_;
-
- DISALLOW_COPY_AND_ASSIGN(PeerConnectionIdentityStore);
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_MEDIA_PEER_CONNECTION_IDENTITY_STORE_H_
« no previous file with comments | « content/public/browser/storage_partition.h ('k') | content/renderer/media/peer_connection_identity_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698