Bug 866615 - Modify the nsDeviceStorage type from 'movies' to 'videos', r=dougt
authorEric Chou <echou@mozilla.com>
Mon, 29 Apr 2013 17:10:30 +0800
changeset 141497 3968311ac65becf130d2d0b5fdf8ba10a9a9ab1c
parent 141496 f7aad2536e3eb2e6277f31c9ad05f68dcc80851c
child 141498 d28a41f49785503bfe30ae6c44e0f7f233ac0346
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdougt
bugs866615
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 866615 - Modify the nsDeviceStorage type from 'movies' to 'videos', r=dougt From 19f4e6e369439a1626fbc69ac2dd72b63e56d397 Mon Sep 17 00:00:00 2001
dom/bluetooth/BluetoothOppManager.cpp
--- a/dom/bluetooth/BluetoothOppManager.cpp
+++ b/dom/bluetooth/BluetoothOppManager.cpp
@@ -528,17 +528,17 @@ BluetoothOppManager::CreateDeviceStorage
   nsresult rv = mimeSvc->GetTypeFromFile(aFile, mimeType);
   if (NS_FAILED(rv)) {
     return nullptr;
   }
 
   if (StringBeginsWith(mimeType, NS_LITERAL_CSTRING("image/"))) {
     return new DeviceStorageFile(NS_LITERAL_STRING("pictures"), storagePath);
   } else if (StringBeginsWith(mimeType, NS_LITERAL_CSTRING("video/"))) {
-    return new DeviceStorageFile(NS_LITERAL_STRING("movies"), storagePath);
+    return new DeviceStorageFile(NS_LITERAL_STRING("videos"), storagePath);
   } else if (StringBeginsWith(mimeType, NS_LITERAL_CSTRING("audio/"))) {
     return new DeviceStorageFile(NS_LITERAL_STRING("music"), storagePath);
   } else {
     NS_WARNING("Couldn't recognize the mimetype of received file.");
     return nullptr;
   }
 }