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_
10 #include "base/files/file_path.h"
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:
20 // <key>User Preferences</key>
22 // <key>iTunes Library XML Location:1</key>
23 // <data>Base64 encoded w string path</data>
28 base::FilePath::StringType
FindLibraryLocationInPrefXml(
29 const std::string
& pref_xml_data
);
33 #endif // CHROME_UTILITY_MEDIA_GALLERIES_ITUNES_PREF_PARSER_WIN_H_