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

Unified Diff: runtime/bin/utils_linux.cc

Issue 2480793002: clang-format runtime/bin (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/utils_fuchsia.cc ('k') | runtime/bin/utils_macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/utils_linux.cc
diff --git a/runtime/bin/utils_linux.cc b/runtime/bin/utils_linux.cc
index 8266102a893f1d0837ec5c136da25312b99a2345..c59531f9b2ab687137de3bf98e2d14e8250a200f 100644
--- a/runtime/bin/utils_linux.cc
+++ b/runtime/bin/utils_linux.cc
@@ -5,10 +5,10 @@
#include "platform/globals.h"
#if defined(TARGET_OS_LINUX)
-#include <errno.h> // NOLINT
-#include <netdb.h> // NOLINT
+#include <errno.h> // NOLINT
+#include <netdb.h> // NOLINT
#include <sys/time.h> // NOLINT
-#include <time.h> // NOLINT
+#include <time.h> // NOLINT
#include "bin/utils.h"
#include "platform/assert.h"
@@ -41,29 +41,33 @@ void OSError::SetCodeAndMessage(SubSystem sub_system, int code) {
}
-const char* StringUtils::ConsoleStringToUtf8(
- const char* str, intptr_t len, intptr_t* result_len) {
+const char* StringUtils::ConsoleStringToUtf8(const char* str,
+ intptr_t len,
+ intptr_t* result_len) {
UNIMPLEMENTED();
return NULL;
}
-const char* StringUtils::Utf8ToConsoleString(
- const char* utf8, intptr_t len, intptr_t* result_len) {
+const char* StringUtils::Utf8ToConsoleString(const char* utf8,
+ intptr_t len,
+ intptr_t* result_len) {
UNIMPLEMENTED();
return NULL;
}
-char* StringUtils::ConsoleStringToUtf8(
- char* str, intptr_t len, intptr_t* result_len) {
+char* StringUtils::ConsoleStringToUtf8(char* str,
+ intptr_t len,
+ intptr_t* result_len) {
UNIMPLEMENTED();
return NULL;
}
-char* StringUtils::Utf8ToConsoleString(
- char* utf8, intptr_t len, intptr_t* result_len) {
+char* StringUtils::Utf8ToConsoleString(char* utf8,
+ intptr_t len,
+ intptr_t* result_len) {
UNIMPLEMENTED();
return NULL;
}
@@ -79,8 +83,7 @@ bool ShellUtils::GetUtf8Argv(int argc, char** argv) {
}
-void TimerUtils::InitOnce() {
-}
+void TimerUtils::InitOnce() {}
int64_t TimerUtils::GetCurrentMonotonicMillis() {
« no previous file with comments | « runtime/bin/utils_fuchsia.cc ('k') | runtime/bin/utils_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698