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/itunes_file_util.h" | 5 #include "chrome/browser/media_galleries/fileapi/itunes_file_util.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <set> | 9 #include <set> |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
12 #include "base/files/file_util.h" | 14 #include "base/files/file_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
14 #include "chrome/browser/media_galleries/fileapi/itunes_data_provider.h" | 16 #include "chrome/browser/media_galleries/fileapi/itunes_data_provider.h" |
15 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h" | 17 #include "chrome/browser/media_galleries/fileapi/media_path_filter.h" |
16 #include "chrome/browser/media_galleries/imported_media_gallery_registry.h" | 18 #include "chrome/browser/media_galleries/imported_media_gallery_registry.h" |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 callback); | 407 callback); |
406 } | 408 } |
407 | 409 |
408 ITunesDataProvider* ITunesFileUtil::GetDataProvider() { | 410 ITunesDataProvider* ITunesFileUtil::GetDataProvider() { |
409 if (!imported_registry_) | 411 if (!imported_registry_) |
410 imported_registry_ = ImportedMediaGalleryRegistry::GetInstance(); | 412 imported_registry_ = ImportedMediaGalleryRegistry::GetInstance(); |
411 return imported_registry_->ITunesDataProvider(); | 413 return imported_registry_->ITunesDataProvider(); |
412 } | 414 } |
413 | 415 |
414 } // namespace itunes | 416 } // namespace itunes |
OLD | NEW |