| Index: chrome/browser/chromeos/gview_request_interceptor_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/gview_request_interceptor_unittest.cc (revision 107626)
|
| +++ chrome/browser/chromeos/gview_request_interceptor_unittest.cc (working copy)
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include <string>
|
| +#include <vector>
|
|
|
| #include "base/bind.h"
|
| #include "base/message_loop.h"
|
| @@ -100,6 +101,10 @@
|
| ASSERT_TRUE(PathService::Get(chrome::FILE_PDF_PLUGIN, &pdf_path_));
|
|
|
| handler_ = new content::DummyResourceHandler();
|
| +
|
| + PluginService::GetInstance()->RefreshPluginList();
|
| + PluginService::GetInstance()->GetPlugins(base::Bind(&QuitMessageLoop));
|
| + MessageLoop::current()->Run();
|
| }
|
|
|
| virtual void TearDown() {
|
|
|