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

Side by Side Diff: components/nacl/renderer/plugin/temporary_file.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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
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 "components/nacl/renderer/plugin/temporary_file.h" 5 #include "components/nacl/renderer/plugin/temporary_file.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h"
8 #include "components/nacl/renderer/plugin/plugin.h" 9 #include "components/nacl/renderer/plugin/plugin.h"
9 #include "components/nacl/renderer/plugin/utility.h" 10 #include "components/nacl/renderer/plugin/utility.h"
10 #include "native_client/src/include/portability_io.h" 11 #include "native_client/src/include/portability_io.h"
11 #include "native_client/src/trusted/service_runtime/include/sys/stat.h" 12 #include "native_client/src/trusted/service_runtime/include/sys/stat.h"
12 #include "ppapi/c/private/pp_file_handle.h" 13 #include "ppapi/c/private/pp_file_handle.h"
13 #include "ppapi/cpp/core.h" 14 #include "ppapi/cpp/core.h"
14 #include "ppapi/cpp/instance.h" 15 #include "ppapi/cpp/instance.h"
15 #include "ppapi/cpp/module.h" 16 #include "ppapi/cpp/module.h"
16 17
17 namespace plugin { 18 namespace plugin {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 CHECK(read_wrapper_); 59 CHECK(read_wrapper_);
59 nacl_off64_t newpos = read_wrapper_->Seek(0, SEEK_SET); 60 nacl_off64_t newpos = read_wrapper_->Seek(0, SEEK_SET);
60 return newpos == 0; 61 return newpos == 0;
61 } 62 }
62 63
63 PP_FileHandle TempFile::TakeFileHandle() { 64 PP_FileHandle TempFile::TakeFileHandle() {
64 return file_handle_.TakePlatformFile(); 65 return file_handle_.TakePlatformFile();
65 } 66 }
66 67
67 } // namespace plugin 68 } // namespace plugin
OLDNEW
« no previous file with comments | « components/nacl/renderer/plugin/temporary_file.h ('k') | components/nacl/renderer/plugin/utility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698