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

Unified Diff: extensions/browser/api/cast_channel/cast_auth_util_unittest.cc

Issue 1924323002: Move Cast certificate verification code from extensions to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplified OWNERS files Created 4 years, 8 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
« no previous file with comments | « extensions/browser/api/cast_channel/cast_auth_util.cc ('k') | extensions/common/cast/cast_cert_validator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/cast_channel/cast_auth_util_unittest.cc
diff --git a/extensions/browser/api/cast_channel/cast_auth_util_unittest.cc b/extensions/browser/api/cast_channel/cast_auth_util_unittest.cc
index 474465a4651de6ca216486dd0dd136bd13948be6..9393eac753237a0c236972e16a92d80bce9bf8c5 100644
--- a/extensions/browser/api/cast_channel/cast_auth_util_unittest.cc
+++ b/extensions/browser/api/cast_channel/cast_auth_util_unittest.cc
@@ -7,8 +7,8 @@
#include <string>
#include "base/macros.h"
+#include "components/cast_certificate/cast_cert_validator_test_helpers.h"
#include "extensions/common/api/cast_channel/cast_channel.pb.h"
-#include "extensions/common/cast/cast_cert_validator_test_helpers.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
@@ -25,12 +25,12 @@ class CastAuthUtilTest : public testing::Test {
protected:
static AuthResponse CreateAuthResponse(std::string* signed_data) {
- auto chain = cast_test_helpers::ReadCertificateChainFromFile(
- "cast_certificates/chromecast_gen1.pem");
+ auto chain = cast_certificate::testing::ReadCertificateChainFromFile(
+ "certificates/chromecast_gen1.pem");
CHECK(!chain.empty());
- auto signature_data = cast_test_helpers::ReadSignatureTestData(
- "cast_signeddata/2ZZBG9_FA8FCA3EF91A.pem");
+ auto signature_data = cast_certificate::testing::ReadSignatureTestData(
+ "signeddata/2ZZBG9_FA8FCA3EF91A.pem");
AuthResponse response;
« no previous file with comments | « extensions/browser/api/cast_channel/cast_auth_util.cc ('k') | extensions/common/cast/cast_cert_validator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698