[webAPI] apply directory migration
authorHyunjin Park <hj.na.park@samsung.com>
Mon, 29 Feb 2016 01:25:09 +0000 (10:25 +0900)
committerHyunjin Park <hj.na.park@samsung.com>
Mon, 29 Feb 2016 01:25:09 +0000 (10:25 +0900)
Change-Id: Ibe2526d6c2edcea6f248faf8f1a9f21d9e91b4b5

src/common/filesystem/filesystem_provider_storage.h
src/exif/exif_util.cc

index 34a996e3c8143143a2c3c49e55c03c255349057a..133f8010ee1de57678c04c43d175fc3c7b9911b9 100644 (file)
@@ -49,7 +49,7 @@ class FilesystemProviderStorage : public IFilesystemProvider {
   /**
    * For given storage_id try to get paths for virtual paths.
    * For example for storage_id (which has type INTERNAL) it will
-   * add to storages virtual paths: downloads with real path /opt/usr/media/Downloads
+   * add to storages virtual paths: downloads with real path TZ_USER_DOWNLOADS
    */
   DeviceChangeStateFun listener_;
   Storages storages_;
index 6a703d63474f9dbbedef87c25a9c4af39e213861..3669b37f451616ed8bc2850fc5f15dd18b163f77 100755 (executable)
@@ -214,8 +214,8 @@ const std::string& ExifUtil::exposureProgramToString(ExposureProgram value) {
 }
 
 // Example:
-// in: uri = file:///opt/usr/media/Images/exif.jpg
-// out: path = /opt/usr/media/Images/exif.jpg
+// in: uri = file://TZ_USER_IMAGES/exif.jpg
+// out: path = TZ_USER_IMAGES/exif.jpg
 std::string ExifUtil::convertUriToPath(const std::string& str) {
   std::string path = ltrim(str);
   std::string prefix = path.substr(0, URI_PREFIX.size());