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

Side by Side Diff: content/browser/tab_contents/provisional_load_details.cc

Issue 7111013: Move most of the core SSL code from chrome to content. The UI code that's specific to Chrome (i.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/tab_contents/navigation_controller.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 5
6 #include "content/browser/tab_contents/provisional_load_details.h" 6 #include "content/browser/tab_contents/provisional_load_details.h"
7 7
8 #include "chrome/browser/ssl/ssl_manager.h" 8 #include "content/browser/ssl/ssl_manager.h"
9 9
10 ProvisionalLoadDetails::ProvisionalLoadDetails(bool is_main_frame, 10 ProvisionalLoadDetails::ProvisionalLoadDetails(bool is_main_frame,
11 bool is_in_page_navigation, 11 bool is_in_page_navigation,
12 const GURL& url, 12 const GURL& url,
13 const std::string& security_info, 13 const std::string& security_info,
14 bool is_error_page, 14 bool is_error_page,
15 int64 frame_id) 15 int64 frame_id)
16 : error_code_(net::OK), 16 : error_code_(net::OK),
17 transition_type_(PageTransition::LINK), 17 transition_type_(PageTransition::LINK),
18 url_(url), 18 url_(url),
19 is_main_frame_(is_main_frame), 19 is_main_frame_(is_main_frame),
20 is_in_page_navigation_(is_in_page_navigation), 20 is_in_page_navigation_(is_in_page_navigation),
21 ssl_cert_id_(0), 21 ssl_cert_id_(0),
22 ssl_cert_status_(0), 22 ssl_cert_status_(0),
23 ssl_security_bits_(-1), 23 ssl_security_bits_(-1),
24 ssl_connection_status_(0), 24 ssl_connection_status_(0),
25 is_error_page_(is_error_page), 25 is_error_page_(is_error_page),
26 frame_id_(frame_id) { 26 frame_id_(frame_id) {
27 SSLManager::DeserializeSecurityInfo(security_info, 27 SSLManager::DeserializeSecurityInfo(security_info,
28 &ssl_cert_id_, 28 &ssl_cert_id_,
29 &ssl_cert_status_, 29 &ssl_cert_status_,
30 &ssl_security_bits_, 30 &ssl_security_bits_,
31 &ssl_connection_status_); 31 &ssl_connection_status_);
32 } 32 }
OLDNEW
« no previous file with comments | « content/browser/tab_contents/navigation_controller.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698