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

Side by Side Diff: content/browser/browser_plugin/test_browser_plugin_guest.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/browser_plugin/test_browser_plugin_guest.h" 5 #include "content/browser/browser_plugin/test_browser_plugin_guest.h"
6 6
7 #include "base/test/test_timeouts.h" 7 #include "base/test/test_timeouts.h"
8 #include "content/browser/renderer_host/render_view_host_impl.h" 8 #include "content/browser/renderer_host/render_view_host_impl.h"
9 #include "content/browser/web_contents/web_contents_impl.h" 9 #include "content/browser/web_contents/web_contents_impl.h"
10 #include "content/common/browser_plugin/browser_plugin_messages.h" 10 #include "content/common/browser_plugin/browser_plugin_messages.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 expected_damage_buffer_size_ = size; 76 expected_damage_buffer_size_ = size;
77 waiting_for_damage_buffer_with_size_ = true; 77 waiting_for_damage_buffer_with_size_ = true;
78 damage_buffer_message_loop_runner_ = new MessageLoopRunner(); 78 damage_buffer_message_loop_runner_ = new MessageLoopRunner();
79 damage_buffer_message_loop_runner_->Run(); 79 damage_buffer_message_loop_runner_->Run();
80 } 80 }
81 81
82 void TestBrowserPluginGuest::RenderProcessGone(base::TerminationStatus status) { 82 void TestBrowserPluginGuest::RenderProcessGone(base::TerminationStatus status) {
83 exit_observed_ = true; 83 exit_observed_ = true;
84 if (status != base::TERMINATION_STATUS_NORMAL_TERMINATION && 84 if (status != base::TERMINATION_STATUS_NORMAL_TERMINATION &&
85 status != base::TERMINATION_STATUS_STILL_RUNNING) 85 status != base::TERMINATION_STATUS_STILL_RUNNING)
86 LOG(INFO) << "Guest crashed status: " << status; 86 VLOG(0) << "Guest crashed status: " << status;
87 if (crash_message_loop_runner_.get()) 87 if (crash_message_loop_runner_.get())
88 crash_message_loop_runner_->Quit(); 88 crash_message_loop_runner_->Quit();
89 BrowserPluginGuest::RenderProcessGone(status); 89 BrowserPluginGuest::RenderProcessGone(status);
90 } 90 }
91 91
92 void TestBrowserPluginGuest::OnHandleInputEvent( 92 void TestBrowserPluginGuest::OnHandleInputEvent(
93 int instance_id, 93 int instance_id,
94 const gfx::Rect& guest_window_rect, 94 const gfx::Rect& guest_window_rect,
95 const blink::WebInputEvent* event) { 95 const blink::WebInputEvent* event) {
96 BrowserPluginGuest::OnHandleInputEvent(instance_id, 96 BrowserPluginGuest::OnHandleInputEvent(instance_id,
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 load_stop_message_loop_runner_->Quit(); 224 load_stop_message_loop_runner_->Quit();
225 } 225 }
226 226
227 void TestBrowserPluginGuest::WasHidden() { 227 void TestBrowserPluginGuest::WasHidden() {
228 was_hidden_observed_ = true; 228 was_hidden_observed_ = true;
229 if (was_hidden_message_loop_runner_.get()) 229 if (was_hidden_message_loop_runner_.get())
230 was_hidden_message_loop_runner_->Quit(); 230 was_hidden_message_loop_runner_->Quit();
231 } 231 }
232 232
233 } // namespace content 233 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_host_browsertest.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698