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

Side by Side Diff: chrome/browser/media_galleries/fileapi/itunes_xml_utils.h

Issue 16231016: Extract track information from iTunes library xml file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win test Created 7 years, 6 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
(Empty)
1 // Copyright (c) 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.
4
5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_XML_UTILS_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_XML_UTILS_H_
7
8 #include <string>
9
10 class XmlReader;
11
12 namespace itunes {
13
14 // Like XmlReader::SkipToElement, but will advance to the next open tag if the
15 // cursor is on a close tag.
16 bool SkipToNextElement(XmlReader* reader);
17
18 // Traverse |reader| looking for a node named |name| at the current depth
19 // of |reader|.
20 bool SeekToNodeAtCurrentDepth(XmlReader* reader, const std::string& name);
21
22 // Search within a "dict" node for |key|. The cursor must be on the starting
23 // "dict" node when entering this function.
24 bool SeekInDict(XmlReader* reader, const std::string& key);
25
26 } // namespace itunes
27
28 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_XML_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698