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

Unified Diff: runtime/bin/file_system_watcher.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/file_support.cc ('k') | runtime/bin/file_system_watcher_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_system_watcher.cc
diff --git a/runtime/bin/file_system_watcher.cc b/runtime/bin/file_system_watcher.cc
index 317f59f2d76ca786397c777992d04fa581c35a83..966436146015b5dcc72e17d8b4b29ee466300e02 100644
--- a/runtime/bin/file_system_watcher.cc
+++ b/runtime/bin/file_system_watcher.cc
@@ -19,7 +19,6 @@ void FUNCTION_NAME(FileSystemWatcher_IsSupported)(Dart_NativeArguments args) {
Dart_SetReturnValue(args, Dart_NewBoolean(FileSystemWatcher::IsSupported()));
}
-
void FUNCTION_NAME(FileSystemWatcher_InitWatcher)(Dart_NativeArguments args) {
intptr_t id = FileSystemWatcher::Init();
if (id >= 0) {
@@ -30,13 +29,11 @@ void FUNCTION_NAME(FileSystemWatcher_InitWatcher)(Dart_NativeArguments args) {
}
}
-
void FUNCTION_NAME(FileSystemWatcher_CloseWatcher)(Dart_NativeArguments args) {
intptr_t id = DartUtils::GetIntptrValue(Dart_GetNativeArgument(args, 0));
FileSystemWatcher::Close(id);
}
-
void FUNCTION_NAME(FileSystemWatcher_WatchPath)(Dart_NativeArguments args) {
intptr_t id = DartUtils::GetIntptrValue(Dart_GetNativeArgument(args, 0));
const char* path = DartUtils::GetStringValue(Dart_GetNativeArgument(args, 1));
@@ -49,14 +46,12 @@ void FUNCTION_NAME(FileSystemWatcher_WatchPath)(Dart_NativeArguments args) {
Dart_SetReturnValue(args, Dart_NewInteger(path_id));
}
-
void FUNCTION_NAME(FileSystemWatcher_UnwatchPath)(Dart_NativeArguments args) {
intptr_t id = DartUtils::GetIntptrValue(Dart_GetNativeArgument(args, 0));
intptr_t path_id = DartUtils::GetIntptrValue(Dart_GetNativeArgument(args, 1));
FileSystemWatcher::UnwatchPath(id, path_id);
}
-
void FUNCTION_NAME(FileSystemWatcher_ReadEvents)(Dart_NativeArguments args) {
intptr_t id = DartUtils::GetIntptrValue(Dart_GetNativeArgument(args, 0));
intptr_t path_id = DartUtils::GetIntptrValue(Dart_GetNativeArgument(args, 1));
@@ -65,7 +60,6 @@ void FUNCTION_NAME(FileSystemWatcher_ReadEvents)(Dart_NativeArguments args) {
Dart_SetReturnValue(args, handle);
}
-
void FUNCTION_NAME(FileSystemWatcher_GetSocketId)(Dart_NativeArguments args) {
intptr_t id = DartUtils::GetIntptrValue(Dart_GetNativeArgument(args, 0));
intptr_t path_id = DartUtils::GetIntptrValue(Dart_GetNativeArgument(args, 1));
« no previous file with comments | « runtime/bin/file_support.cc ('k') | runtime/bin/file_system_watcher_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698