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

Side by Side Diff: content/renderer/pepper/pepper_file_io_host.cc

Issue 12035111: Move file_util_proxy to base/files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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) 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 #include "content/renderer/pepper/pepper_file_io_host.h" 5 #include "content/renderer/pepper/pepper_file_io_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/file_util_proxy.h" 9 #include "base/files/file_util_proxy.h"
10 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
11 #include "ppapi/host/dispatch_host_message.h" 11 #include "ppapi/host/dispatch_host_message.h"
12 #include "ppapi/host/ppapi_host.h" 12 #include "ppapi/host/ppapi_host.h"
13 #include "ppapi/proxy/ppapi_messages.h" 13 #include "ppapi/proxy/ppapi_messages.h"
14 #include "ppapi/shared_impl/file_type_conversion.h" 14 #include "ppapi/shared_impl/file_type_conversion.h"
15 #include "ppapi/shared_impl/time_conversion.h" 15 #include "ppapi/shared_impl/time_conversion.h"
16 #include "ppapi/thunk/enter.h" 16 #include "ppapi/thunk/enter.h"
17 #include "webkit/fileapi/file_system_callback_dispatcher.h" 17 #include "webkit/fileapi/file_system_callback_dispatcher.h"
18 #include "webkit/plugins/ppapi/file_callbacks.h" 18 #include "webkit/plugins/ppapi/file_callbacks.h"
19 #include "webkit/plugins/ppapi/host_globals.h" 19 #include "webkit/plugins/ppapi/host_globals.h"
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 // depends on whether is negative or not. It is the result here. We translate 557 // depends on whether is negative or not. It is the result here. We translate
558 // for the callback. 558 // for the callback.
559 int32_t pp_error = ::ppapi::PlatformFileErrorToPepperError(error_code); 559 int32_t pp_error = ::ppapi::PlatformFileErrorToPepperError(error_code);
560 reply_context.params.set_result(ErrorOrByteNumber(pp_error, bytes_written)); 560 reply_context.params.set_result(ErrorOrByteNumber(pp_error, bytes_written));
561 host()->SendReply(reply_context, PpapiPluginMsg_FileIO_GeneralReply()); 561 host()->SendReply(reply_context, PpapiPluginMsg_FileIO_GeneralReply());
562 state_manager_.SetOperationFinished(); 562 state_manager_.SetOperationFinished();
563 } 563 }
564 564
565 } // namespace content 565 } // namespace content
566 566
OLDNEW
« no previous file with comments | « content/common/fileapi/webfilesystem_callback_dispatcher.cc ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698