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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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_SAFE_PICASA_ALBUM_TABLE_READER_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_PICASA_ALBUM_TABLE_READER_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_PICASA_ALBUM_TABLE_READER_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_PICASA_ALBUM_TABLE_READER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "chrome/common/media_galleries/picasa_types.h" 14 #include "chrome/common/media_galleries/picasa_types.h"
15 #include "content/public/browser/utility_process_host.h" 15 #include "content/public/browser/utility_process_host.h"
16 #include "content/public/browser/utility_process_host_client.h" 16 #include "content/public/browser/utility_process_host_client.h"
17 17
18 namespace base {
19 class FilePath;
20 }
21
22 namespace IPC { 18 namespace IPC {
23 class Message; 19 class Message;
24 } 20 }
25 21
26 namespace picasa { 22 namespace picasa {
27 23
28 // SafePicasaAlbumTableReader parses the given Picasa PMP Album Table safely 24 // SafePicasaAlbumTableReader parses the given Picasa PMP Album Table safely
29 // via a utility process. The SafePicasaAlbumTableReader object is ref-counted 25 // via a utility process. The SafePicasaAlbumTableReader object is ref-counted
30 // and kept alive after Start() is called until the ParserCallback is called. 26 // and kept alive after Start() is called until the ParserCallback is called.
31 // The ParserCallback is guaranteed to be called eventually either when the 27 // The ParserCallback is guaranteed to be called eventually either when the
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Verifies the messages from the utility process came at the right time. 74 // Verifies the messages from the utility process came at the right time.
79 // Initialized on the Media Task Runner, but only accessed on the IO thread. 75 // Initialized on the Media Task Runner, but only accessed on the IO thread.
80 ParserState parser_state_; 76 ParserState parser_state_;
81 77
82 DISALLOW_COPY_AND_ASSIGN(SafePicasaAlbumTableReader); 78 DISALLOW_COPY_AND_ASSIGN(SafePicasaAlbumTableReader);
83 }; 79 };
84 80
85 } // namespace picasa 81 } // namespace picasa
86 82
87 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_PICASA_ALBUM_TABLE_READER _H_ 83 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_SAFE_PICASA_ALBUM_TABLE_READER _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698