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

Side by Side Diff: net/ftp/ftp_directory_listing_parser_ls.h

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FTP_FTP_DIRECTORY_LISTING_PARSER_LS_H_ 5 #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_LS_H_
6 #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_LS_H_ 6 #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_LS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "net/base/net_api.h" 12 #include "net/base/net_export.h"
13 13
14 namespace base { 14 namespace base {
15 class Time; 15 class Time;
16 } 16 }
17 17
18 namespace net { 18 namespace net {
19 19
20 struct FtpDirectoryListingEntry; 20 struct FtpDirectoryListingEntry;
21 21
22 // Parses "ls -l" FTP directory listing. Returns true on success. 22 // Parses "ls -l" FTP directory listing. Returns true on success.
23 NET_TEST bool ParseFtpDirectoryListingLs( 23 NET_EXPORT_PRIVATE bool ParseFtpDirectoryListingLs(
24 const std::vector<string16>& lines, 24 const std::vector<string16>& lines,
25 const base::Time& current_time, 25 const base::Time& current_time,
26 std::vector<FtpDirectoryListingEntry>* entries); 26 std::vector<FtpDirectoryListingEntry>* entries);
27 27
28 } // namespace net 28 } // namespace net
29 29
30 #endif // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_LS_H_ 30 #endif // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_LS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698