| Index: chrome/test/base/ui_test_utils.cc
|
| diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
|
| index 978835bd9958cd22f6f1da1cf3998e8e50da360d..2fa3c021fb5d110942a478f235415f02606188ea 100644
|
| --- a/chrome/test/base/ui_test_utils.cc
|
| +++ b/chrome/test/base/ui_test_utils.cc
|
| @@ -28,6 +28,7 @@
|
| #include "chrome/browser/bookmarks/bookmark_model_factory.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| +#include "chrome/browser/devtools/devtools_window.h"
|
| #include "chrome/browser/extensions/extension_action.h"
|
| #include "chrome/browser/history/history_service_factory.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -267,6 +268,13 @@
|
| BROWSER_TEST_WAIT_FOR_NAVIGATION);
|
| }
|
|
|
| +void WaitUntilDevToolsWindowLoaded(DevToolsWindow* window) {
|
| + scoped_refptr<content::MessageLoopRunner> runner =
|
| + new content::MessageLoopRunner;
|
| + window->SetLoadCompletedCallback(runner->QuitClosure());
|
| + runner->Run();
|
| +}
|
| +
|
| base::FilePath GetTestFilePath(const base::FilePath& dir,
|
| const base::FilePath& file) {
|
| base::FilePath path;
|
|
|