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

Side by Side Diff: content/browser/media/webrtc_identity_store.cc

Issue 18868005: content: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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/media/webrtc_identity_store.h" 5 #include "content/browser/media/webrtc_identity_store.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 "base/logging.h" 9 #include "base/logging.h"
10 #include "base/rand_util.h" 10 #include "base/rand_util.h"
11 #include "base/threading/worker_pool.h" 11 #include "base/threading/worker_pool.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "crypto/rsa_private_key.h" 13 #include "crypto/rsa_private_key.h"
14 #include "googleurl/src/gurl.h"
15 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
16 #include "net/cert/x509_util.h" 15 #include "net/cert/x509_util.h"
16 #include "url/gurl.h"
17 17
18 namespace content { 18 namespace content {
19 19
20 struct WebRTCIdentityRequestResult { 20 struct WebRTCIdentityRequestResult {
21 int error; 21 int error;
22 std::string certificate; 22 std::string certificate;
23 std::string private_key; 23 std::string private_key;
24 }; 24 };
25 25
26 static void GenerateIdentityWorker(const std::string& common_name, 26 static void GenerateIdentityWorker(const std::string& common_name,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 return base::Bind(&WebRTCIdentityRequestHandle::Cancel, 171 return base::Bind(&WebRTCIdentityRequestHandle::Cancel,
172 base::Unretained(handle)); 172 base::Unretained(handle));
173 } 173 }
174 174
175 void WebRTCIdentityStore::SetTaskRunnerForTesting( 175 void WebRTCIdentityStore::SetTaskRunnerForTesting(
176 const scoped_refptr<base::TaskRunner>& task_runner) { 176 const scoped_refptr<base::TaskRunner>& task_runner) {
177 task_runner_ = task_runner; 177 task_runner_ = task_runner;
178 } 178 }
179 179
180 } // namespace content 180 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/upload_data_stream_builder_unittest.cc ('k') | content/browser/media/webrtc_identity_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698