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

Side by Side Diff: net/base/directory_lister.h

Issue 5139006: FBTF: Remove unneeded headers from base/ (part 10) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac, cros build Created 10 years, 1 month 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
« no previous file with comments | « gpu/command_buffer/service/texture_manager.cc ('k') | net/socket_stream/socket_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 NET_BASE_DIRECTORY_LISTER_H_ 5 #ifndef NET_BASE_DIRECTORY_LISTER_H_
6 #define NET_BASE_DIRECTORY_LISTER_H_ 6 #define NET_BASE_DIRECTORY_LISTER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/cancellation_flag.h" 11 #include "base/cancellation_flag.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/platform_thread.h" 14 #include "base/platform_thread.h"
15 #include "base/ref_counted.h" 15 #include "base/ref_counted.h"
16 #include "base/task.h"
17 16
18 class MessageLoop; 17 class MessageLoop;
19 18
20 namespace net { 19 namespace net {
21 20
22 // 21 //
23 // This class provides an API for listing the contents of a directory on the 22 // This class provides an API for listing the contents of a directory on the
24 // filesystem asynchronously. It spawns a background thread, and enumerates 23 // filesystem asynchronously. It spawns a background thread, and enumerates
25 // the specified directory on that thread. It marshalls WIN32_FIND_DATA 24 // the specified directory on that thread. It marshalls WIN32_FIND_DATA
26 // structs over to the main application thread. The consumer of this class 25 // structs over to the main application thread. The consumer of this class
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 DirectoryListerDelegate* delegate_; 105 DirectoryListerDelegate* delegate_;
107 SORT_TYPE sort_; 106 SORT_TYPE sort_;
108 MessageLoop* message_loop_; 107 MessageLoop* message_loop_;
109 PlatformThreadHandle thread_; 108 PlatformThreadHandle thread_;
110 base::CancellationFlag canceled_; 109 base::CancellationFlag canceled_;
111 }; 110 };
112 111
113 } // namespace net 112 } // namespace net
114 113
115 #endif // NET_BASE_DIRECTORY_LISTER_H_ 114 #endif // NET_BASE_DIRECTORY_LISTER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/texture_manager.cc ('k') | net/socket_stream/socket_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698