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

Unified Diff: webrtc/base/pathutils.cc

Issue 2533213005: Add File::Open / Create functions to take an rtc::Pathname (Closed)
Patch Set: Resolve review comments Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/pathutils.h ('k') | webrtc/base/urlencode.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/pathutils.cc
diff --git a/webrtc/base/pathutils.cc b/webrtc/base/pathutils.cc
index 90869b482a107d21cad25207320a0a621b3f88d8..c4a2c30dc832d76aa9cf1ba3ea30ede43643f61c 100644
--- a/webrtc/base/pathutils.cc
+++ b/webrtc/base/pathutils.cc
@@ -15,7 +15,7 @@
#include <tchar.h>
#endif // WEBRTC_WIN
-#include "webrtc/base/common.h"
+#include "webrtc/base/checks.h"
#include "webrtc/base/fileutils.h"
#include "webrtc/base/logging.h"
#include "webrtc/base/pathutils.h"
@@ -72,7 +72,7 @@ Pathname& Pathname::operator=(const Pathname&) = default;
Pathname& Pathname::operator=(Pathname&&) = default;
void Pathname::SetFolderDelimiter(char delimiter) {
- ASSERT(IsFolderDelimiter(delimiter));
+ RTC_DCHECK(IsFolderDelimiter(delimiter));
folder_delimiter_ = delimiter;
}
« no previous file with comments | « webrtc/base/pathutils.h ('k') | webrtc/base/urlencode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698