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

Side by Side Diff: content/browser/file_descriptor_info_impl.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 #ifndef CONTENT_BROWSER_FILE_DESCRIPTOR_INFO_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FILE_DESCRIPTOR_INFO_IMPL_H_
6 #define CONTENT_BROWSER_FILE_DESCRIPTOR_INFO_IMPL_H_ 6 #define CONTENT_BROWSER_FILE_DESCRIPTOR_INFO_IMPL_H_
7 7
8 #include <stddef.h>
9
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
11 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
12 #include "content/public/browser/file_descriptor_info.h" 14 #include "content/public/browser/file_descriptor_info.h"
13 15
14 namespace content { 16 namespace content {
15 17
16 class FileDescriptorInfoImpl : public FileDescriptorInfo { 18 class FileDescriptorInfoImpl : public FileDescriptorInfo {
17 public: 19 public:
(...skipping 15 matching lines...) Expand all
33 FileDescriptorInfoImpl(); 35 FileDescriptorInfoImpl();
34 36
35 void AddToMapping(int id, base::PlatformFile fd); 37 void AddToMapping(int id, base::PlatformFile fd);
36 bool HasID(int id) const; 38 bool HasID(int id) const;
37 base::FileHandleMappingVector mapping_; 39 base::FileHandleMappingVector mapping_;
38 std::vector<base::ScopedFD> owned_descriptors_; 40 std::vector<base::ScopedFD> owned_descriptors_;
39 }; 41 };
40 } 42 }
41 43
42 #endif // CONTENT_BROWSER_FILE_DESCRIPTOR_INFO_IMPL_H_ 44 #endif // CONTENT_BROWSER_FILE_DESCRIPTOR_INFO_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/download/url_downloader.cc ('k') | content/browser/file_descriptor_info_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698