| 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_data_provider.h" | 5 #include "chrome/browser/media_galleries/fileapi/picasa/picasa_data_provider.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/stringprintf.h" | 10 #include "base/stringprintf.h" |
| 11 #include "chrome/browser/media_galleries/fileapi/filtering_file_enumerator.h" | |
| 12 #include "chrome/browser/media_galleries/fileapi/picasa/picasa_album_table_reade
r.h" | 11 #include "chrome/browser/media_galleries/fileapi/picasa/picasa_album_table_reade
r.h" |
| 13 #include "webkit/browser/fileapi/file_system_operation_context.h" | 12 #include "webkit/browser/fileapi/file_system_operation_context.h" |
| 14 #include "webkit/browser/fileapi/file_system_url.h" | 13 #include "webkit/browser/fileapi/file_system_url.h" |
| 15 | 14 |
| 16 namespace picasa { | 15 namespace picasa { |
| 17 | 16 |
| 18 PicasaDataProvider::PicasaDataProvider(const base::FilePath& database_path) | 17 PicasaDataProvider::PicasaDataProvider(const base::FilePath& database_path) |
| 19 : database_path_(database_path), | 18 : database_path_(database_path), |
| 20 initialized_(false) { | 19 initialized_(false) { |
| 21 } | 20 } |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 if (!album_table_reader.Init()) | 96 if (!album_table_reader.Init()) |
| 98 return false; | 97 return false; |
| 99 | 98 |
| 100 InitializeWith(album_table_reader.albums(), | 99 InitializeWith(album_table_reader.albums(), |
| 101 album_table_reader.folders()); | 100 album_table_reader.folders()); |
| 102 | 101 |
| 103 return true; | 102 return true; |
| 104 } | 103 } |
| 105 | 104 |
| 106 } // namespace picasa | 105 } // namespace picasa |
| OLD | NEW |