| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/media_galleries/fileapi/picasa/picasa_file_util.h" | 5 #include "chrome/browser/media_galleries/fileapi/picasa/picasa_file_util.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
| 9 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
| 10 #include "base/strings/sys_string_conversions.h" | 10 #include "base/strings/sys_string_conversions.h" |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 break; | 288 break; |
| 289 } | 289 } |
| 290 | 290 |
| 291 // All other cases don't have a local path. The valid cases should be | 291 // All other cases don't have a local path. The valid cases should be |
| 292 // intercepted by GetFileInfo()/CreateFileEnumerator(). Invalid cases | 292 // intercepted by GetFileInfo()/CreateFileEnumerator(). Invalid cases |
| 293 // return a NOT_FOUND error. | 293 // return a NOT_FOUND error. |
| 294 return base::PLATFORM_FILE_ERROR_NOT_FOUND; | 294 return base::PLATFORM_FILE_ERROR_NOT_FOUND; |
| 295 } | 295 } |
| 296 | 296 |
| 297 PicasaDataProvider* PicasaFileUtil::DataProvider() { | 297 PicasaDataProvider* PicasaFileUtil::DataProvider() { |
| 298 return chrome::ImportedMediaGalleryRegistry::picasa_data_provider(); | 298 return chrome::ImportedMediaGalleryRegistry::PicasaDataProvider(); |
| 299 } | 299 } |
| 300 | 300 |
| 301 } // namespace picasa | 301 } // namespace picasa |
| OLD | NEW |