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

Unified Diff: blimp/engine/browser_tests/waitable_content_pump.cc

Issue 2620213004: Remove all blimp browsertests. (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/engine/browser_tests/waitable_content_pump.h ('k') | testing/buildbot/chromium.fyi.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/browser_tests/waitable_content_pump.cc
diff --git a/blimp/engine/browser_tests/waitable_content_pump.cc b/blimp/engine/browser_tests/waitable_content_pump.cc
deleted file mode 100644
index 2b2f03ff707b5b4a873c9c335ee04ce5e59ca0d1..0000000000000000000000000000000000000000
--- a/blimp/engine/browser_tests/waitable_content_pump.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "blimp/engine/browser_tests/waitable_content_pump.h"
-
-#include "content/public/browser/browser_thread.h"
-#include "content/public/test/test_utils.h"
-
-namespace blimp {
-
-WaitableContentPump::WaitableContentPump()
- : event_(base::WaitableEvent::ResetPolicy::MANUAL,
- base::WaitableEvent::InitialState::NOT_SIGNALED) {}
-
-WaitableContentPump::~WaitableContentPump() = default;
-
-// static
-void WaitableContentPump::WaitFor(base::WaitableEvent* event) {
- while (!event->IsSignaled()) {
- content::RunAllPendingInMessageLoop(content::BrowserThread::UI);
- content::RunAllPendingInMessageLoop(content::BrowserThread::IO);
- content::RunAllPendingInMessageLoop(content::BrowserThread::FILE);
- }
- event->Reset();
-}
-
-void WaitableContentPump::Wait() {
- WaitableContentPump::WaitFor(&event_);
-}
-
-} // namespace blimp
« no previous file with comments | « blimp/engine/browser_tests/waitable_content_pump.h ('k') | testing/buildbot/chromium.fyi.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698