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

Unified Diff: content/common/ssl_status_serialization.h

Issue 2315443003: Stop sending serialized SSLStatus to the renderer. (Closed)
Patch Set: self review fix and merge fix Created 4 years, 3 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 | « content/common/resource_request_completion_status.h ('k') | content/common/ssl_status_serialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/ssl_status_serialization.h
diff --git a/content/common/ssl_status_serialization.h b/content/common/ssl_status_serialization.h
deleted file mode 100644
index ed4062377a5de0ed95e8906d4e6247e7d6ca3f1e..0000000000000000000000000000000000000000
--- a/content/common/ssl_status_serialization.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_COMMON_SSL_STATUS_SERIALIZATION_H_
-#define CONTENT_COMMON_SSL_STATUS_SERIALIZATION_H_
-
-#include <string>
-
-#include "base/compiler_specific.h"
-#include "content/common/content_export.h"
-#include "content/public/common/ssl_status.h"
-
-namespace content {
-
-// Serializes the given security info. Does NOT include
-// |ssl_status.content_status| in the serialized info.
-CONTENT_EXPORT std::string SerializeSecurityInfo(const SSLStatus& ssl_status);
-
-// Deserializes the given security info into |ssl_status|. Note that
-// this returns the |content_status| field with its default
-// value. Returns true on success and false if the state couldn't be
-// deserialized. If false, all fields in |ssl_status| will be set to
-// their default values. Note that this function does not validate that
-// the deserialized SSLStatus is internally consistent (e.g. that the
-// |security_style| matches up with the rest of the fields).
-bool CONTENT_EXPORT
-DeserializeSecurityInfo(const std::string& state,
- SSLStatus* ssl_status) WARN_UNUSED_RESULT;
-
-} // namespace content
-
-#endif // CONTENT_COMMON_SSL_STATUS_SERIALIZATION_H_
« no previous file with comments | « content/common/resource_request_completion_status.h ('k') | content/common/ssl_status_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698