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

Side by Side Diff: content/browser/download/download_file_factory.h

Issue 12213066: Use base namespace for FilePath in content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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) 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 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 12 matching lines...) Expand all
23 class DownloadFile; 23 class DownloadFile;
24 class DownloadManager; 24 class DownloadManager;
25 struct DownloadSaveInfo; 25 struct DownloadSaveInfo;
26 26
27 class CONTENT_EXPORT DownloadFileFactory { 27 class CONTENT_EXPORT DownloadFileFactory {
28 public: 28 public:
29 virtual ~DownloadFileFactory(); 29 virtual ~DownloadFileFactory();
30 30
31 virtual DownloadFile* CreateFile( 31 virtual DownloadFile* CreateFile(
32 scoped_ptr<DownloadSaveInfo> save_info, 32 scoped_ptr<DownloadSaveInfo> save_info,
33 const FilePath& default_downloads_directory, 33 const base::FilePath& default_downloads_directory,
34 const GURL& url, 34 const GURL& url,
35 const GURL& referrer_url, 35 const GURL& referrer_url,
36 bool calculate_hash, 36 bool calculate_hash,
37 scoped_ptr<ByteStreamReader> stream, 37 scoped_ptr<ByteStreamReader> stream,
38 const net::BoundNetLog& bound_net_log, 38 const net::BoundNetLog& bound_net_log,
39 base::WeakPtr<DownloadDestinationObserver> observer); 39 base::WeakPtr<DownloadDestinationObserver> observer);
40 }; 40 };
41 41
42 } // namespace content 42 } // namespace content
43 43
44 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_ 44 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_file.h ('k') | content/browser/download/download_file_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698