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

Side by Side Diff: content/browser/renderer_host/media/webrtc_identity_service_host.cc

Issue 2108053005: Pull ChildProcessSecurityPolicyImpl out to shared subfolder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/media/webrtc_identity_service_host.h" 5 #include "content/browser/renderer_host/media/webrtc_identity_service_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "content/browser/child_process_security_policy_impl.h"
10 #include "content/browser/media/webrtc/webrtc_identity_store.h" 9 #include "content/browser/media/webrtc/webrtc_identity_store.h"
10 #include "content/browser/shared/child_process_security_policy_helper.h"
11 #include "content/common/media/webrtc_identity_messages.h" 11 #include "content/common/media/webrtc_identity_messages.h"
12 #include "content/public/browser/content_browser_client.h" 12 #include "content/public/browser/content_browser_client.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 WebRTCIdentityServiceHost::WebRTCIdentityServiceHost( 17 WebRTCIdentityServiceHost::WebRTCIdentityServiceHost(
18 int renderer_process_id, 18 int renderer_process_id,
19 scoped_refptr<WebRTCIdentityStore> identity_store, 19 scoped_refptr<WebRTCIdentityStore> identity_store,
20 ResourceContext* resource_context) 20 ResourceContext* resource_context)
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 SendErrorMessage(request_id, status); 92 SendErrorMessage(request_id, status);
93 } 93 }
94 } 94 }
95 95
96 void WebRTCIdentityServiceHost::SendErrorMessage(int request_id, 96 void WebRTCIdentityServiceHost::SendErrorMessage(int request_id,
97 int error) { 97 int error) {
98 Send(new WebRTCIdentityHostMsg_RequestFailed(request_id, error)); 98 Send(new WebRTCIdentityHostMsg_RequestFailed(request_id, error));
99 } 99 }
100 100
101 } // namespace content 101 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698