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

Side by Side Diff: content/renderer/context_menu_params_builder.cc

Issue 88643002: SignedCertificateTimestamp storing & serialization code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erans_patches
Patch Set: Created 7 years 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
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/renderer/context_menu_params_builder.h" 5 #include "content/renderer/context_menu_params_builder.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/common/ssl_status_serialization.h" 8 #include "content/common/ssl_status_serialization.h"
9 #include "content/public/common/context_menu_params.h" 9 #include "content/public/common/context_menu_params.h"
10 #include "content/public/renderer/history_item_serialization.h" 10 #include "content/public/renderer/history_item_serialization.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } else { 69 } else {
70 LOG(ERROR) << "Creating a ContextMenuParams for a node that has a link" 70 LOG(ERROR) << "Creating a ContextMenuParams for a node that has a link"
71 << "url but is not an ElementNode or does not have an" 71 << "url but is not an ElementNode or does not have an"
72 << "ancestor that is a link."; 72 << "ancestor that is a link.";
73 } 73 }
74 } 74 }
75 75
76 // Deserialize the SSL info. 76 // Deserialize the SSL info.
77 if (!data.securityInfo.isEmpty()) { 77 if (!data.securityInfo.isEmpty()) {
78 DeserializeSecurityInfo(data.securityInfo, 78 DeserializeSecurityInfo(data.securityInfo,
79 &params.security_info.cert_id, 79 &params.security_info.cert_id, &params.security_info.cert_status,
80 &params.security_info.cert_status, 80 &params.security_info.security_bits,
81 &params.security_info.security_bits, 81 &params.security_info.connection_status,
82 &params.security_info.connection_status); 82 &params.security_info.signed_certificate_timestamp_ids);
83 } 83 }
84 84
85 return params; 85 return params;
86 } 86 }
87 87
88 } // namespace content 88 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698