| Index: chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc
|
| diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc b/chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc
|
| index a9c30cafa714585dc01e4f66da242c8a7ee429a7..e3a0ddb6e3ebb881fd49cc001d009b4927c02ce9 100644
|
| --- a/chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc
|
| +++ b/chrome/browser/chromeos/app_mode/kiosk_app_update_service_browsertest.cc
|
| @@ -2,6 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "chrome/browser/chromeos/app_mode/kiosk_app_update_service.h"
|
| +
|
| #include <string>
|
|
|
| #include "base/basictypes.h"
|
| @@ -20,7 +22,6 @@
|
| #include "chrome/browser/apps/app_browsertest_util.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/browser_process_platform_part.h"
|
| -#include "chrome/browser/chromeos/app_mode/kiosk_app_update_service.h"
|
| #include "chrome/browser/chromeos/system/automatic_reboot_manager.h"
|
| #include "chrome/browser/extensions/extension_test_message_listener.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -68,8 +69,7 @@ class KioskAppUpdateServiceTest : public extensions::PlatformAppBrowserTest {
|
| update_service_ = KioskAppUpdateServiceFactory::GetForProfile(profile());
|
| update_service_->set_app_id(app_->id());
|
|
|
| - content::BrowserThread::GetBlockingPool()->FlushForTesting();
|
| - content::RunAllPendingInMessageLoop();
|
| + content::RunAllBlockingPoolTasksUntilIdle();
|
| }
|
|
|
| void FireAppUpdateAvailable() {
|
|
|