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

Side by Side Diff: webkit/glue/plugins/pepper_file_io.cc

Issue 4164015: Switch to the new PPAPI repository. This removes the DEPS entry that refers t... (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 | « webkit/glue/plugins/pepper_file_io.h ('k') | webkit/glue/plugins/pepper_file_ref.h » ('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 #include "webkit/glue/plugins/pepper_file_io.h" 5 #include "webkit/glue/plugins/pepper_file_io.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/file_util_proxy.h" 9 #include "base/file_util_proxy.h"
10 #include "base/message_loop_proxy.h" 10 #include "base/message_loop_proxy.h"
11 #include "base/platform_file.h" 11 #include "base/platform_file.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "third_party/ppapi/c/dev/ppb_file_io_dev.h" 14 #include "ppapi/c/dev/ppb_file_io_dev.h"
15 #include "third_party/ppapi/c/dev/ppb_file_io_trusted_dev.h" 15 #include "ppapi/c/dev/ppb_file_io_trusted_dev.h"
16 #include "third_party/ppapi/c/pp_completion_callback.h" 16 #include "ppapi/c/pp_completion_callback.h"
17 #include "third_party/ppapi/c/pp_errors.h" 17 #include "ppapi/c/pp_errors.h"
18 #include "webkit/glue/plugins/pepper_file_ref.h" 18 #include "webkit/glue/plugins/pepper_file_ref.h"
19 #include "webkit/glue/plugins/pepper_plugin_instance.h" 19 #include "webkit/glue/plugins/pepper_plugin_instance.h"
20 #include "webkit/glue/plugins/pepper_plugin_module.h" 20 #include "webkit/glue/plugins/pepper_plugin_module.h"
21 #include "webkit/glue/plugins/pepper_resource_tracker.h" 21 #include "webkit/glue/plugins/pepper_resource_tracker.h"
22 22
23 namespace pepper { 23 namespace pepper {
24 24
25 namespace { 25 namespace {
26 26
27 PP_Resource Create(PP_Module module_id) { 27 PP_Resource Create(PP_Module module_id) {
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 423
424 void FileIO::ReadWriteCallback(base::PlatformFileError error_code, 424 void FileIO::ReadWriteCallback(base::PlatformFileError error_code,
425 int bytes_read_or_written) { 425 int bytes_read_or_written) {
426 if (error_code != base::PLATFORM_FILE_OK) 426 if (error_code != base::PLATFORM_FILE_OK)
427 RunPendingCallback(PlatformFileErrorToPepperError(error_code)); 427 RunPendingCallback(PlatformFileErrorToPepperError(error_code));
428 else 428 else
429 RunPendingCallback(bytes_read_or_written); 429 RunPendingCallback(bytes_read_or_written);
430 } 430 }
431 431
432 } // namespace pepper 432 } // namespace pepper
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_file_io.h ('k') | webkit/glue/plugins/pepper_file_ref.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698