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