Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / utility / media_galleries / itunes_pref_parser_win.h
blobc52ec5f4b369d56b4564a254701b54b88c23d3ec
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
3 // found in the LICENSE file.
5 #ifndef CHROME_UTILITY_MEDIA_GALLERIES_ITUNES_PREF_PARSER_WIN_H_
6 #define CHROME_UTILITY_MEDIA_GALLERIES_ITUNES_PREF_PARSER_WIN_H_
8 #include <string>
10 #include "base/files/file_path.h"
12 namespace itunes {
14 // Extracts the library XML location from the iTunes preferences XML data.
15 // Return the path the the library XML location if found. The minimal
16 // valid snippet of XML is:
18 // <plist>
19 // <dict>
20 // <key>User Preferences</key>
21 // <dict>
22 // <key>iTunes Library XML Location:1</key>
23 // <data>Base64 encoded w string path</data>
24 // </dict>
25 // </dict>
26 // </plist>
28 base::FilePath::StringType FindLibraryLocationInPrefXml(
29 const std::string& pref_xml_data);
31 } // namespace itunes
33 #endif // CHROME_UTILITY_MEDIA_GALLERIES_ITUNES_PREF_PARSER_WIN_H_