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

Side by Side Diff: storage/browser/fileapi/file_system_dir_url_request_job.h

Issue 1429333002: Deprecate STORAGE_EXPORT_PRIVATE macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix rebase error Created 5 years, 1 month 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
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 STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_
6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/files/file.h" 11 #include "base/files/file.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "net/url_request/url_request_job.h" 14 #include "net/url_request/url_request_job.h"
15 #include "storage/browser/fileapi/file_system_url.h" 15 #include "storage/browser/fileapi/file_system_url.h"
16 #include "storage/browser/storage_browser_export.h" 16 #include "storage/browser/storage_browser_export.h"
17 17
18 namespace storage { 18 namespace storage {
19 19
20 class FileSystemContext; 20 class FileSystemContext;
21 struct DirectoryEntry; 21 struct DirectoryEntry;
22 22
23 // A request job that handles reading filesystem: URLs for directories. 23 // A request job that handles reading filesystem: URLs for directories.
24 class STORAGE_EXPORT_PRIVATE FileSystemDirURLRequestJob 24 class STORAGE_EXPORT FileSystemDirURLRequestJob : public net::URLRequestJob {
25 : public net::URLRequestJob {
26 public: 25 public:
27 FileSystemDirURLRequestJob( 26 FileSystemDirURLRequestJob(
28 net::URLRequest* request, 27 net::URLRequest* request,
29 net::NetworkDelegate* network_delegate, 28 net::NetworkDelegate* network_delegate,
30 const std::string& storage_domain, 29 const std::string& storage_domain,
31 FileSystemContext* file_system_context); 30 FileSystemContext* file_system_context);
32 31
33 // URLRequestJob methods: 32 // URLRequestJob methods:
34 void Start() override; 33 void Start() override;
35 void Kill() override; 34 void Kill() override;
(...skipping 21 matching lines...) Expand all
57 const std::string storage_domain_; 56 const std::string storage_domain_;
58 FileSystemContext* file_system_context_; 57 FileSystemContext* file_system_context_;
59 base::WeakPtrFactory<FileSystemDirURLRequestJob> weak_factory_; 58 base::WeakPtrFactory<FileSystemDirURLRequestJob> weak_factory_;
60 59
61 DISALLOW_COPY_AND_ASSIGN(FileSystemDirURLRequestJob); 60 DISALLOW_COPY_AND_ASSIGN(FileSystemDirURLRequestJob);
62 }; 61 };
63 62
64 } // namespace storage 63 } // namespace storage
65 64
66 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_ 65 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_DIR_URL_REQUEST_JOB_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/dragged_file_util.h ('k') | storage/browser/fileapi/file_system_file_stream_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698