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

Unified Diff: net/ftp/ftp_directory_listing_parser.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/ftp/ftp_ctrl_response_buffer_unittest.cc ('k') | net/ftp/ftp_directory_listing_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_directory_listing_parser.h
diff --git a/net/ftp/ftp_directory_listing_parser.h b/net/ftp/ftp_directory_listing_parser.h
deleted file mode 100644
index d2dd677bb09e6e78a4a96f642eb2ab07a88b6a49..0000000000000000000000000000000000000000
--- a/net/ftp/ftp_directory_listing_parser.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_H_
-#define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_H_
-
-#include <string>
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/strings/string16.h"
-#include "base/time/time.h"
-#include "net/base/net_export.h"
-
-namespace net {
-
-struct FtpDirectoryListingEntry {
- enum Type {
- UNKNOWN,
- FILE,
- DIRECTORY,
- SYMLINK,
- };
-
- FtpDirectoryListingEntry();
-
- Type type;
- base::string16 name; // Name (UTF-16-encoded).
- std::string raw_name; // Name in original character encoding.
- int64 size; // File size, in bytes. -1 if not applicable.
-
- // Last modified time, in local time zone.
- base::Time last_modified;
-};
-
-// Parses an FTP directory listing |text|. On success fills in |entries|.
-// Returns network error code.
-NET_EXPORT int ParseFtpDirectoryListing(
- const std::string& text,
- const base::Time& current_time,
- std::vector<FtpDirectoryListingEntry>* entries);
-
-} // namespace net
-
-#endif // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_H_
« no previous file with comments | « net/ftp/ftp_ctrl_response_buffer_unittest.cc ('k') | net/ftp/ftp_directory_listing_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698