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

Side by Side Diff: webrtc/base/pathutils.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 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
« no previous file with comments | « webrtc/base/opensslstreamadapter.cc ('k') | webrtc/base/pathutils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 bool SetBasename(const std::string& basename); 85 bool SetBasename(const std::string& basename);
86 86
87 std::string extension() const; 87 std::string extension() const;
88 // SetExtension will prefix a period, if needed. 88 // SetExtension will prefix a period, if needed.
89 bool SetExtension(const std::string& extension); 89 bool SetExtension(const std::string& extension);
90 90
91 std::string filename() const; 91 std::string filename() const;
92 bool SetFilename(const std::string& filename); 92 bool SetFilename(const std::string& filename);
93 93
94 #if defined(WEBRTC_WIN) 94 #if defined(WEBRTC_WIN)
95 bool GetDrive(char *drive, uint32 bytes) const; 95 bool GetDrive(char* drive, uint32_t bytes) const;
96 static bool GetDrive(char *drive, uint32 bytes,const std::string& pathname); 96 static bool GetDrive(char* drive,
97 uint32_t bytes,
98 const std::string& pathname);
97 #endif 99 #endif
98 100
99 private: 101 private:
100 std::string folder_, basename_, extension_; 102 std::string folder_, basename_, extension_;
101 char folder_delimiter_; 103 char folder_delimiter_;
102 }; 104 };
103 105
104 /////////////////////////////////////////////////////////////////////////////// 106 ///////////////////////////////////////////////////////////////////////////////
105 // Global Helpers (deprecated) 107 // Global Helpers (deprecated)
106 /////////////////////////////////////////////////////////////////////////////// 108 ///////////////////////////////////////////////////////////////////////////////
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 return false; 156 return false;
155 } 157 }
156 return Filesystem::DeleteFolderContents(path); 158 return Filesystem::DeleteFolderContents(path);
157 } 159 }
158 160
159 /////////////////////////////////////////////////////////////////////////////// 161 ///////////////////////////////////////////////////////////////////////////////
160 162
161 } // namespace rtc 163 } // namespace rtc
162 164
163 #endif // WEBRTC_BASE_PATHUTILS_H__ 165 #endif // WEBRTC_BASE_PATHUTILS_H__
OLDNEW
« no previous file with comments | « webrtc/base/opensslstreamadapter.cc ('k') | webrtc/base/pathutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698