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

Side by Side Diff: chrome/utility/media_galleries/iphoto_library_parser.h

Issue 273153003: Remove stray platform_file.h from chrome and components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove "using" Created 6 years, 7 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
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 #ifndef CHROME_UTILITY_MEDIA_GALLERIES_IPHOTO_LIBRARY_PARSER_H_ 5 #ifndef CHROME_UTILITY_MEDIA_GALLERIES_IPHOTO_LIBRARY_PARSER_H_
6 #define CHROME_UTILITY_MEDIA_GALLERIES_IPHOTO_LIBRARY_PARSER_H_ 6 #define CHROME_UTILITY_MEDIA_GALLERIES_IPHOTO_LIBRARY_PARSER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/platform_file.h"
11 #include "chrome/common/media_galleries/iphoto_library.h" 10 #include "chrome/common/media_galleries/iphoto_library.h"
12 11
13 namespace iphoto { 12 namespace iphoto {
14 13
15 class IPhotoLibraryParser { 14 class IPhotoLibraryParser {
16 public: 15 public:
17 IPhotoLibraryParser(); 16 IPhotoLibraryParser();
18 ~IPhotoLibraryParser(); 17 ~IPhotoLibraryParser();
19 18
20 // Returns true if at least one track was found. Malformed track entries 19 // Returns true if at least one track was found. Malformed track entries
21 // are silently ignored. 20 // are silently ignored.
22 bool Parse(const std::string& xml); 21 bool Parse(const std::string& xml);
23 22
24 const parser::Library& library() { return library_; } 23 const parser::Library& library() { return library_; }
25 24
26 private: 25 private:
27 parser::Library library_; 26 parser::Library library_;
28 27
29 DISALLOW_COPY_AND_ASSIGN(IPhotoLibraryParser); 28 DISALLOW_COPY_AND_ASSIGN(IPhotoLibraryParser);
30 }; 29 };
31 30
32 } // namespace iphoto 31 } // namespace iphoto
33 32
34 #endif // CHROME_UTILITY_MEDIA_GALLERIES_IPHOTO_LIBRARY_PARSER_H_ 33 #endif // CHROME_UTILITY_MEDIA_GALLERIES_IPHOTO_LIBRARY_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck_unittest.cc ('k') | chrome/utility/media_galleries/itunes_library_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698