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

Side by Side Diff: content/browser/file_system/file_system_dispatcher_host.h

Issue 7633061: Merge 94892 - Pepper quota support (Closed) Base URL: svn://svn.chromium.org/chrome/branches/835/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
« no previous file with comments | « no previous file | content/browser/file_system/file_system_dispatcher_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 const GURL& path, 76 const GURL& path,
77 const GURL& blob_url, 77 const GURL& blob_url,
78 int64 offset); 78 int64 offset);
79 void OnTruncate(int request_id, const GURL& path, int64 length); 79 void OnTruncate(int request_id, const GURL& path, int64 length);
80 void OnTouchFile(int request_id, 80 void OnTouchFile(int request_id,
81 const GURL& path, 81 const GURL& path,
82 const base::Time& last_access_time, 82 const base::Time& last_access_time,
83 const base::Time& last_modified_time); 83 const base::Time& last_modified_time);
84 void OnCancel(int request_id, int request_to_cancel); 84 void OnCancel(int request_id, int request_to_cancel);
85 void OnOpenFile(int request_id, const GURL& path, int file_flags); 85 void OnOpenFile(int request_id, const GURL& path, int file_flags);
86 void OnWillUpdate(const GURL& path);
87 void OnDidUpdate(const GURL& path, int64 delta);
86 88
87 // Creates a new FileSystemOperation. 89 // Creates a new FileSystemOperation.
88 fileapi::FileSystemOperation* GetNewOperation(int request_id); 90 fileapi::FileSystemOperation* GetNewOperation(int request_id);
89 91
90 fileapi::FileSystemContext* context_; 92 fileapi::FileSystemContext* context_;
91 93
92 // Keeps ongoing file system operations. 94 // Keeps ongoing file system operations.
93 typedef IDMap<fileapi::FileSystemOperation> OperationsMap; 95 typedef IDMap<fileapi::FileSystemOperation> OperationsMap;
94 OperationsMap operations_; 96 OperationsMap operations_;
95 97
96 // This holds the ResourceContext until Init() can be called from the 98 // This holds the ResourceContext until Init() can be called from the
97 // IO thread, which will extract the net::URLRequestContext from it. 99 // IO thread, which will extract the net::URLRequestContext from it.
98 const content::ResourceContext* resource_context_; 100 const content::ResourceContext* resource_context_;
99 net::URLRequestContext* request_context_; 101 net::URLRequestContext* request_context_;
100 102
101 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcherHost); 103 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcherHost);
102 }; 104 };
103 105
104 #endif // CONTENT_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ 106 #endif // CONTENT_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/file_system/file_system_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698