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

Unified Diff: components/cast_channel/cast_auth_util.cc

Issue 2913033003: [cast_channel] Move cast_channel related files from //extensions to //components (Closed)
Patch Set: fix buildbot compile errors Created 3 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
« no previous file with comments | « components/cast_channel/cast_auth_util.h ('k') | components/cast_channel/cast_auth_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cast_channel/cast_auth_util.cc
diff --git a/extensions/browser/api/cast_channel/cast_auth_util.cc b/components/cast_channel/cast_auth_util.cc
similarity index 97%
rename from extensions/browser/api/cast_channel/cast_auth_util.cc
rename to components/cast_channel/cast_auth_util.cc
index 9406fde850cddb3f35b59cb565618beed129e60b..82caae579a2d33537b3e8537b2e4427f27f48342 100644
--- a/extensions/browser/api/cast_channel/cast_auth_util.cc
+++ b/components/cast_channel/cast_auth_util.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "extensions/browser/api/cast_channel/cast_auth_util.h"
+#include "components/cast_channel/cast_auth_util.h"
#include <vector>
@@ -17,14 +17,12 @@
#include "base/strings/stringprintf.h"
#include "components/cast_certificate/cast_cert_validator.h"
#include "components/cast_certificate/cast_crl.h"
+#include "components/cast_channel/cast_message_util.h"
+#include "components/cast_channel/proto/cast_channel.pb.h"
#include "crypto/random.h"
-#include "extensions/browser/api/cast_channel/cast_message_util.h"
-#include "extensions/common/api/cast_channel/cast_channel.pb.h"
#include "net/cert/x509_certificate.h"
#include "net/der/parse_values.h"
-namespace extensions {
-namespace api {
namespace cast_channel {
namespace {
@@ -169,8 +167,7 @@ AuthResult::AuthResult()
AuthResult::AuthResult(const std::string& error_message, ErrorType error_type)
: error_message(error_message), error_type(error_type) {}
-AuthResult::~AuthResult() {
-}
+AuthResult::~AuthResult() {}
// static
AuthResult AuthResult::CreateWithParseError(const std::string& error_message,
@@ -395,5 +392,3 @@ AuthResult VerifyCredentialsForTest(const AuthResponse& response,
}
} // namespace cast_channel
-} // namespace api
-} // namespace extensions
« no previous file with comments | « components/cast_channel/cast_auth_util.h ('k') | components/cast_channel/cast_auth_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698