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