diff options
Diffstat (limited to 'chrome/browser/tab_contents/provisional_load_details.cc')
-rw-r--r-- | chrome/browser/tab_contents/provisional_load_details.cc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/provisional_load_details.cc b/chrome/browser/tab_contents/provisional_load_details.cc new file mode 100644 index 0000000..1ec1206 --- /dev/null +++ b/chrome/browser/tab_contents/provisional_load_details.cc @@ -0,0 +1,25 @@ +// Copyright (c) 2006-2008 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. + + +#include "chrome/browser/tab_contents/provisional_load_details.h" + +#include "chrome/browser/ssl_manager.h" + +ProvisionalLoadDetails::ProvisionalLoadDetails(bool is_main_frame, + bool is_in_page_navigation, + const GURL& url, + const std::string& security_info, + bool is_content_filtered) + : error_code_(net::OK), + url_(url), + is_main_frame_(is_main_frame), + is_in_page_navigation_(is_in_page_navigation), + is_content_filtered_(is_content_filtered) { + SSLManager::DeserializeSecurityInfo(security_info, + &ssl_cert_id_, + &ssl_cert_status_, + &ssl_security_bits_); +} + |