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

Unified Diff: chrome/browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc

Issue 8764006: chrome: chromeos: dbus: simplify ProxyResolutionServiceProvider unittest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc
diff --git a/chrome/browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc b/chrome/browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc
index bbd2a4d685626d69aa85dab195bb3ac80de60e38..f1e7c84f153c32e97b18c3fd4e1242f00b0679ca 100644
--- a/chrome/browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc
+++ b/chrome/browser/chromeos/dbus/proxy_resolution_service_provider_unittest.cc
@@ -262,7 +262,7 @@ class ProxyResolutionServiceProviderTest : public testing::Test {
base::Bind(&ProxyResolutionServiceProviderTest::OnResponse,
base::Unretained(this)));
// Wait for a response.
- while (!response_received_) {
+ if (!response_received_) {
Paweł Hajdan Jr. 2011/12/01 09:24:48 nit: Remove the braces too, {}.
Vince Laviano 2011/12/01 21:53:30 Done.
message_loop_.Run();
}
// Return response.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698