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

Side by Side Diff: extensions/browser/api/networking_private/networking_cast_private_delegate.cc

Issue 2751423004: Move NetworkingPrivateDelegate::CryptoVerify to networking_cast_private (Closed)
Patch Set: blocking pool removed Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "extensions/browser/api/networking_private/networking_cast_private_dele gate.h"
6
7 #include <utility>
8
9 #include "base/strings/string_util.h"
10
11 namespace extensions {
12
13 NetworkingCastPrivateDelegate::Credentials::Credentials(
14 const std::string& certificate,
15 const std::vector<std::string>& intermediate_certificates,
16 const std::string& signed_data,
17 const std::string& device_ssid,
18 const std::string& device_serial,
19 const std::string& device_bssid,
20 const std::string& public_key,
21 const std::string& nonce)
22 : certificate_(certificate),
23 intermediate_certificates_(intermediate_certificates),
24 signed_data_(signed_data),
25 device_bssid_(device_bssid),
26 public_key_(public_key) {
27 std::vector<std::string> data_parts(
28 {device_ssid, device_serial, device_bssid, public_key, nonce});
29 unsigned_data_ = base::JoinString(data_parts, ",");
30 }
31
32 NetworkingCastPrivateDelegate::Credentials::~Credentials() {}
33
34 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698