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

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

Issue 4350001: Added ability to propogate create to suggest whether or not filesystem's root... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/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) 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 CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ 5 #ifndef CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_
6 #define CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ 6 #define CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 30 matching lines...) Expand all
41 ChromeURLRequestContext* context); 41 ChromeURLRequestContext* context);
42 ~FileSystemDispatcherHost(); 42 ~FileSystemDispatcherHost();
43 void Init(base::ProcessHandle process_handle); 43 void Init(base::ProcessHandle process_handle);
44 void Shutdown(); 44 void Shutdown();
45 45
46 bool OnMessageReceived(const IPC::Message& message, bool* message_was_ok); 46 bool OnMessageReceived(const IPC::Message& message, bool* message_was_ok);
47 47
48 void OnOpenFileSystem(int request_id, 48 void OnOpenFileSystem(int request_id,
49 const GURL& origin_url, 49 const GURL& origin_url,
50 fileapi::FileSystemType type, 50 fileapi::FileSystemType type,
51 int64 requested_size); 51 int64 requested_size,
52 bool create);
52 void OnMove(int request_id, 53 void OnMove(int request_id,
53 const FilePath& src_path, 54 const FilePath& src_path,
54 const FilePath& dest_path); 55 const FilePath& dest_path);
55 void OnCopy(int request_id, 56 void OnCopy(int request_id,
56 const FilePath& src_path, 57 const FilePath& src_path,
57 const FilePath& dest_path); 58 const FilePath& dest_path);
58 void OnRemove(int request_id, const FilePath& path, bool recursive); 59 void OnRemove(int request_id, const FilePath& path, bool recursive);
59 void OnReadMetadata(int request_id, const FilePath& path); 60 void OnReadMetadata(int request_id, const FilePath& path);
60 void OnCreate(int request_id, 61 void OnCreate(int request_id,
61 const FilePath& path, 62 const FilePath& path,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 130
130 // This holds the URLRequestContextGetter until Init() can be called from the 131 // This holds the URLRequestContextGetter until Init() can be called from the
131 // IO thread, which will extract the URLRequestContext from it. 132 // IO thread, which will extract the URLRequestContext from it.
132 scoped_refptr<URLRequestContextGetter> request_context_getter_; 133 scoped_refptr<URLRequestContextGetter> request_context_getter_;
133 scoped_refptr<URLRequestContext> request_context_; 134 scoped_refptr<URLRequestContext> request_context_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcherHost); 136 DISALLOW_COPY_AND_ASSIGN(FileSystemDispatcherHost);
136 }; 137 };
137 138
138 #endif // CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_ 139 #endif // CHROME_BROWSER_FILE_SYSTEM_FILE_SYSTEM_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/file_system/file_system_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698