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

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

Issue 6603034: Stop returning the true root path of each filesystem from openFileSystem.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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) 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 #include "content/browser/file_system/file_system_dispatcher_host.h" 5 #include "content/browser/file_system/file_system_dispatcher_host.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 } 227 }
228 } 228 }
229 229
230 FileSystemOperation* FileSystemDispatcherHost::GetNewOperation( 230 FileSystemOperation* FileSystemDispatcherHost::GetNewOperation(
231 int request_id) { 231 int request_id) {
232 BrowserFileSystemCallbackDispatcher* dispatcher = 232 BrowserFileSystemCallbackDispatcher* dispatcher =
233 new BrowserFileSystemCallbackDispatcher(this, request_id); 233 new BrowserFileSystemCallbackDispatcher(this, request_id);
234 FileSystemOperation* operation = new FileSystemOperation( 234 FileSystemOperation* operation = new FileSystemOperation(
235 dispatcher, 235 dispatcher,
236 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE), 236 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
237 context_); 237 context_,
238 NULL);
238 operations_.AddWithID(operation, request_id); 239 operations_.AddWithID(operation, request_id);
239 return operation; 240 return operation;
240 } 241 }
241 242
242 void FileSystemDispatcherHost::UnregisterOperation(int request_id) { 243 void FileSystemDispatcherHost::UnregisterOperation(int request_id) {
243 DCHECK(operations_.Lookup(request_id)); 244 DCHECK(operations_.Lookup(request_id));
244 operations_.Remove(request_id); 245 operations_.Remove(request_id);
245 } 246 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | content/browser/worker_host/worker_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698