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

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: Address comments 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 the dict for |key|.
bryeung 2013/06/03 17:34:16 A comment about pre-conditions would be nice here
vandebo (ex-Chrome) 2013/06/03 17:46:52 Done. It's a plist XML, so I didn't really descri
bryeung 2013/06/03 17:49:22 sgtm, thanks
23 bool SeekInDict(XmlReader* reader, const std::string& key);
24
25 } // namespace itunes
26
27 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_XML_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698