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

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

Issue 5574006: Start deinlining non-empty virtual methods. (This will be automatically checked (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove virtual from VideoFrame::type() Created 10 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 | Annotate | Revision Log
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_FTP_FTP_DIRECTORY_LISTING_PARSER_WINDOWS_H_ 5 #ifndef NET_FTP_FTP_DIRECTORY_LISTING_PARSER_WINDOWS_H_
6 #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_WINDOWS_H_ 6 #define NET_FTP_FTP_DIRECTORY_LISTING_PARSER_WINDOWS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <queue> 9 #include <queue>
10 10
11 #include "net/ftp/ftp_directory_listing_parser.h" 11 #include "net/ftp/ftp_directory_listing_parser.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 class FtpDirectoryListingParserWindows : public FtpDirectoryListingParser { 15 class FtpDirectoryListingParserWindows : public FtpDirectoryListingParser {
16 public: 16 public:
17 FtpDirectoryListingParserWindows(); 17 FtpDirectoryListingParserWindows();
18 virtual ~FtpDirectoryListingParserWindows(); 18 virtual ~FtpDirectoryListingParserWindows();
19 19
20 // FtpDirectoryListingParser methods: 20 // FtpDirectoryListingParser methods:
21 virtual FtpServerType GetServerType() const { return SERVER_WINDOWS; } 21 virtual FtpServerType GetServerType() const;
22 virtual bool ConsumeLine(const string16& line); 22 virtual bool ConsumeLine(const string16& line);
23 virtual bool OnEndOfInput(); 23 virtual bool OnEndOfInput();
24 virtual bool EntryAvailable() const; 24 virtual bool EntryAvailable() const;
25 virtual FtpDirectoryListingEntry PopEntry(); 25 virtual FtpDirectoryListingEntry PopEntry();
26 26
27 private: 27 private:
28 std::queue<FtpDirectoryListingEntry> entries_; 28 std::queue<FtpDirectoryListingEntry> entries_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(FtpDirectoryListingParserWindows); 30 DISALLOW_COPY_AND_ASSIGN(FtpDirectoryListingParserWindows);
31 }; 31 };
32 32
33 } // namespace net 33 } // namespace net
34 34
35 #endif // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_WINDOWS_H_ 35 #endif // NET_FTP_FTP_DIRECTORY_LISTING_PARSER_WINDOWS_H_
OLDNEW
« no previous file with comments | « net/ftp/ftp_directory_listing_parser_vms.cc ('k') | net/ftp/ftp_directory_listing_parser_windows.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698