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

Side by Side Diff: chrome/browser/ssl/ssl_host_state.cc

Issue 43148: Remove unneeded uses of logging.h in header files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 "chrome/browser/ssl/ssl_host_state.h" 5 #include "chrome/browser/ssl/ssl_host_state.h"
6 6
7 #include "base/logging.h"
8
7 SSLHostState::SSLHostState() { 9 SSLHostState::SSLHostState() {
8 } 10 }
9 11
10 SSLHostState::~SSLHostState() { 12 SSLHostState::~SSLHostState() {
11 } 13 }
12 14
13 void SSLHostState::DenyCertForHost(net::X509Certificate* cert, 15 void SSLHostState::DenyCertForHost(net::X509Certificate* cert,
14 const std::string& host) { 16 const std::string& host) {
15 DCHECK(CalledOnValidThread()); 17 DCHECK(CalledOnValidThread());
16 18
(...skipping 21 matching lines...) Expand all
38 40
39 return (can_show_insecure_content_for_host_.find(url.host()) != 41 return (can_show_insecure_content_for_host_.find(url.host()) !=
40 can_show_insecure_content_for_host_.end()); 42 can_show_insecure_content_for_host_.end());
41 } 43 }
42 44
43 void SSLHostState::AllowShowInsecureContentForURL(const GURL& url) { 45 void SSLHostState::AllowShowInsecureContentForURL(const GURL& url) {
44 DCHECK(CalledOnValidThread()); 46 DCHECK(CalledOnValidThread());
45 47
46 can_show_insecure_content_for_host_.insert(url.host()); 48 can_show_insecure_content_for_host_.insert(url.host());
47 } 49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698