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

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

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
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_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 Album GetAlbum(const ArtistName& artist, const AlbumName& album) const; 59 Album GetAlbum(const ArtistName& artist, const AlbumName& album) const;
60 60
61 private: 61 private:
62 friend class TestITunesDataProvider; 62 friend class TestITunesDataProvider;
63 63
64 typedef std::map<AlbumName, Album> Artist; 64 typedef std::map<AlbumName, Album> Artist;
65 typedef std::map<ArtistName, Artist> Library; 65 typedef std::map<ArtistName, Artist> Library;
66 66
67 // Parse the library xml file. 67 // Parse the library xml file.
68 virtual void DoParseLibrary(const base::FilePath& library_path, 68 virtual void DoParseLibrary(const base::FilePath& library_path,
69 const ReadyCallback& ready_callback) OVERRIDE; 69 const ReadyCallback& ready_callback) override;
70 70
71 // Called when the utility process finishes parsing the library XML file. 71 // Called when the utility process finishes parsing the library XML file.
72 void OnLibraryParsed(const ReadyCallback& ready_callback, 72 void OnLibraryParsed(const ReadyCallback& ready_callback,
73 bool result, 73 bool result,
74 const parser::Library& library); 74 const parser::Library& library);
75 75
76 // Path to the auto-add directory. 76 // Path to the auto-add directory.
77 const base::FilePath auto_add_path_; 77 const base::FilePath auto_add_path_;
78 78
79 // The parsed and uniquified data. 79 // The parsed and uniquified data.
80 Library library_; 80 Library library_;
81 81
82 scoped_refptr<iapps::SafeIAppsLibraryParser> xml_parser_; 82 scoped_refptr<iapps::SafeIAppsLibraryParser> xml_parser_;
83 83
84 // Hides parent class member, but it is private, and there's no way to get a 84 // Hides parent class member, but it is private, and there's no way to get a
85 // WeakPtr<Derived> from a WeakPtr<Base> without using SupportsWeakPtr. 85 // WeakPtr<Derived> from a WeakPtr<Base> without using SupportsWeakPtr.
86 base::WeakPtrFactory<ITunesDataProvider> weak_factory_; 86 base::WeakPtrFactory<ITunesDataProvider> weak_factory_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(ITunesDataProvider); 88 DISALLOW_COPY_AND_ASSIGN(ITunesDataProvider);
89 }; 89 };
90 90
91 } // namespace itunes 91 } // namespace itunes
92 92
93 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_ 93 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_ITUNES_DATA_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698