Index: chrome/browser/extensions/extension_host.cc |
=================================================================== |
--- chrome/browser/extensions/extension_host.cc (revision 166869) |
+++ chrome/browser/extensions/extension_host.cc (working copy) |
@@ -55,10 +55,6 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
-#if defined(OS_CHROMEOS) |
-#include "chrome/browser/chromeos/login/user_manager.h" |
-#endif |
- |
using WebKit::WebDragOperation; |
using WebKit::WebDragOperationsMask; |
using content::NativeWebKeyboardEvent; |
@@ -414,14 +410,6 @@ |
} |
} |
-#if defined(OS_CHROMEOS) |
-bool ExtensionHost::ShouldSuppressDialogs() { |
- // Prevent extensions from creating dialogs while user session hasn't |
- // started yet. |
- return !chromeos::UserManager::Get()->IsSessionStarted(); |
-} |
-#endif |
- |
void ExtensionHost::OnStartDownload( |
content::WebContents* source, content::DownloadItem* download) { |
// If |source| is in the context of a Browser, show the DownloadShelf on that |