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

Side by Side Diff: content/browser/web_contents/web_contents_impl.cc

Issue 84293002: LOG(INFO) -> VLOG(0) in content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whitespace 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/web_contents/web_contents_impl.h" 5 #include "content/browser/web_contents/web_contents_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 2153 matching lines...) Expand 10 before | Expand all | Expand 10 after
2164 2164
2165 void WebContentsImpl::OnDidDisplayInsecureContent() { 2165 void WebContentsImpl::OnDidDisplayInsecureContent() {
2166 RecordAction(UserMetricsAction("SSL.DisplayedInsecureContent")); 2166 RecordAction(UserMetricsAction("SSL.DisplayedInsecureContent"));
2167 displayed_insecure_content_ = true; 2167 displayed_insecure_content_ = true;
2168 SSLManager::NotifySSLInternalStateChanged( 2168 SSLManager::NotifySSLInternalStateChanged(
2169 GetController().GetBrowserContext()); 2169 GetController().GetBrowserContext());
2170 } 2170 }
2171 2171
2172 void WebContentsImpl::OnDidRunInsecureContent( 2172 void WebContentsImpl::OnDidRunInsecureContent(
2173 const std::string& security_origin, const GURL& target_url) { 2173 const std::string& security_origin, const GURL& target_url) {
2174 LOG(INFO) << security_origin << " ran insecure content from " 2174 VLOG(0) << security_origin << " ran insecure content from "
2175 << target_url.possibly_invalid_spec(); 2175 << target_url.possibly_invalid_spec();
2176 RecordAction(UserMetricsAction("SSL.RanInsecureContent")); 2176 RecordAction(UserMetricsAction("SSL.RanInsecureContent"));
2177 if (EndsWith(security_origin, kDotGoogleDotCom, false)) 2177 if (EndsWith(security_origin, kDotGoogleDotCom, false))
2178 RecordAction(UserMetricsAction("SSL.RanInsecureContentGoogle")); 2178 RecordAction(UserMetricsAction("SSL.RanInsecureContentGoogle"));
2179 controller_.ssl_manager()->DidRunInsecureContent(security_origin); 2179 controller_.ssl_manager()->DidRunInsecureContent(security_origin);
2180 displayed_insecure_content_ = true; 2180 displayed_insecure_content_ = true;
2181 SSLManager::NotifySSLInternalStateChanged( 2181 SSLManager::NotifySSLInternalStateChanged(
2182 GetController().GetBrowserContext()); 2182 GetController().GetBrowserContext());
2183 } 2183 }
2184 2184
2185 void WebContentsImpl::OnDocumentLoadedInFrame(int64 frame_id) { 2185 void WebContentsImpl::OnDocumentLoadedInFrame(int64 frame_id) {
(...skipping 1496 matching lines...) Expand 10 before | Expand all | Expand 10 after
3682 } 3682 }
3683 3683
3684 void WebContentsImpl::OnFrameRemoved( 3684 void WebContentsImpl::OnFrameRemoved(
3685 RenderViewHostImpl* render_view_host, 3685 RenderViewHostImpl* render_view_host,
3686 int64 frame_id) { 3686 int64 frame_id) {
3687 FOR_EACH_OBSERVER(WebContentsObserver, observers_, 3687 FOR_EACH_OBSERVER(WebContentsObserver, observers_,
3688 FrameDetached(render_view_host, frame_id)); 3688 FrameDetached(render_view_host, frame_id));
3689 } 3689 }
3690 3690
3691 } // namespace content 3691 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/tracing/trace_subscriber_stdio.cc ('k') | content/browser/worker_host/test/worker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698