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

Side by Side Diff: content/browser/browser_plugin/test_browser_plugin_guest.cc

Issue 11312179: C++ readability review for lazyboy@ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and reupload smaller subset for readability review. Created 7 years, 1 month 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 if (load_stop_message_loop_runner_.get()) 223 if (load_stop_message_loop_runner_.get())
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
233 } // namespace content 234 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698