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

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

Issue 1135793006: [net/base] Forward declaration of classes instead of including header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « net/base/directory_lister.h ('k') | net/base/directory_lister_unittest.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "net/base/directory_lister.h" 5 #include "net/base/directory_lister.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_enumerator.h" 10 #include "base/files/file_enumerator.h"
11 #include "base/files/file_util.h" 11 #include "base/files/file_util.h"
12 #include "base/i18n/file_util_icu.h" 12 #include "base/i18n/file_util_icu.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
mmenke 2015/05/19 14:45:16 While you're here, I believe you can remove this h
Pranay 2015/05/20 03:09:35 This file has FROM_HERE flag ( dependency - base/l
15 #include "base/message_loop/message_loop_proxy.h"
15 #include "base/threading/thread_restrictions.h" 16 #include "base/threading/thread_restrictions.h"
16 #include "base/threading/worker_pool.h" 17 #include "base/threading/worker_pool.h"
17 #include "net/base/net_errors.h" 18 #include "net/base/net_errors.h"
18 19
19 namespace net { 20 namespace net {
20 21
21 namespace { 22 namespace {
22 23
23 bool IsDotDot(const base::FilePath& path) { 24 bool IsDotDot(const base::FilePath& path) {
24 return FILE_PATH_LITERAL("..") == path.BaseName().value(); 25 return FILE_PATH_LITERAL("..") == path.BaseName().value();
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 195
195 void DirectoryLister::OnListFile(const DirectoryListerData& data) { 196 void DirectoryLister::OnListFile(const DirectoryListerData& data) {
196 delegate_->OnListFile(data); 197 delegate_->OnListFile(data);
197 } 198 }
198 199
199 void DirectoryLister::OnListDone(int error) { 200 void DirectoryLister::OnListDone(int error) {
200 delegate_->OnListDone(error); 201 delegate_->OnListDone(error);
201 } 202 }
202 203
203 } // namespace net 204 } // namespace net
OLDNEW
« no previous file with comments | « net/base/directory_lister.h ('k') | net/base/directory_lister_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698