Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: chrome/browser/media_galleries/fileapi/picasa/picasa_data_provider.cc

Issue 15859007: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dump_file_system build fix Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/fileapi/file_system_operation_context.h" 13 #include "webkit/browser/fileapi/file_system_operation_context.h"
14 #include "webkit/fileapi/file_system_url.h" 14 #include "webkit/browser/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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698