| Index: chrome/browser/extensions/file_manager_util.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/file_manager_util.cc (revision 102115)
|
| +++ chrome/browser/extensions/file_manager_util.cc (working copy)
|
| @@ -9,6 +9,7 @@
|
| #include "base/string_util.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "base/values.h"
|
| +#include "chrome/browser/chromeos/media/media_player.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/simple_message_box.h"
|
| #include "chrome/browser/ui/browser.h"
|
| @@ -23,10 +24,6 @@
|
| #include "webkit/fileapi/file_system_mount_point_provider.h"
|
| #include "webkit/fileapi/file_system_util.h"
|
|
|
| -#if defined(OS_CHROMEOS)
|
| -#include "chrome/browser/chromeos/media/media_player.h"
|
| -#endif
|
| -
|
| #define FILEBROWSER_DOMAIN "hhaomjibdihmijegdhdafkllkbggdgoj"
|
| const char kFileBrowserDomain[] = FILEBROWSER_DOMAIN;
|
| #define FILEBROWSER_URL(PATH) \
|
| @@ -241,7 +238,6 @@
|
| browser->AddSelectedTabWithURL(GURL(path), PageTransition::LINK);
|
| return;
|
| }
|
| -#if defined(OS_CHROMEOS)
|
| if (IsSupportedAVExtension(ext.data())) {
|
| Browser* browser = BrowserList::GetLastActive();
|
| if (!browser)
|
| @@ -253,7 +249,6 @@
|
| mediaplayer->ForcePlayMediaFile(browser->profile(), full_path, NULL);
|
| return;
|
| }
|
| -#endif // OS_CHROMEOS
|
|
|
| // Unknown file type. Record UMA and show an error message.
|
| size_t extension_index = UMAExtensionIndex(ext.data(),
|
|
|