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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/request_manager.cc

Issue 384303002: [fsp] Add support for copying files within a provided file system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/chromeos/file_system_provider/request_manager.h" 5 #include "chrome/browser/chromeos/file_system_provider/request_manager.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 10
(...skipping 20 matching lines...) Expand all
31 case CLOSE_FILE: 31 case CLOSE_FILE:
32 return "CLOSE_FILE"; 32 return "CLOSE_FILE";
33 case READ_FILE: 33 case READ_FILE:
34 return "READ_FILE"; 34 return "READ_FILE";
35 case CREATE_DIRECTORY: 35 case CREATE_DIRECTORY:
36 return "CREATE_DIRECTORY"; 36 return "CREATE_DIRECTORY";
37 case DELETE_ENTRY: 37 case DELETE_ENTRY:
38 return "DELETE_ENTRY"; 38 return "DELETE_ENTRY";
39 case CREATE_FILE: 39 case CREATE_FILE:
40 return "CREATE_FILE"; 40 return "CREATE_FILE";
41 case COPY_ENTRY:
42 return "COPY_ENTRY";
41 case TESTING: 43 case TESTING:
42 return "TESTING"; 44 return "TESTING";
43 } 45 }
44 NOTREACHED(); 46 NOTREACHED();
45 return ""; 47 return "";
46 } 48 }
47 49
48 RequestManager::RequestManager( 50 RequestManager::RequestManager(
49 NotificationManagerInterface* notification_manager) 51 NotificationManagerInterface* notification_manager)
50 : notification_manager_(notification_manager), 52 : notification_manager_(notification_manager),
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 notification_manager_->HideUnresponsiveNotification(request_id); 230 notification_manager_->HideUnresponsiveNotification(request_id);
229 231
230 FOR_EACH_OBSERVER(Observer, observers_, OnRequestDestroyed(request_id)); 232 FOR_EACH_OBSERVER(Observer, observers_, OnRequestDestroyed(request_id));
231 233
232 TRACE_EVENT_ASYNC_END0( 234 TRACE_EVENT_ASYNC_END0(
233 "file_system_provider", "RequestManager::Request", request_id); 235 "file_system_provider", "RequestManager::Request", request_id);
234 } 236 }
235 237
236 } // namespace file_system_provider 238 } // namespace file_system_provider
237 } // namespace chromeos 239 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_system_provider/request_manager.h ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698