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

Unified Diff: Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp

Issue 23537045: Use the "linux" inspector style on freebsd and openbsd (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unrelated change. Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
diff --git a/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp b/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
index 070963e87e62fc1baaea0670d03846e74983d2e4..1a1b2725af018a0748cfba836e215c1307918eaa 100644
--- a/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
+++ b/Source/bindings/v8/custom/V8InspectorFrontendHostCustom.cpp
@@ -45,16 +45,10 @@ void V8InspectorFrontendHost::platformMethodCustom(const v8::FunctionCallbackInf
{
#if OS(MACOSX)
v8SetReturnValue(args, v8::String::NewSymbol("mac"));
-#elif OS(LINUX)
- v8SetReturnValue(args, v8::String::NewSymbol("linux"));
-#elif OS(FREEBSD)
- v8SetReturnValue(args, v8::String::NewSymbol("freebsd"));
-#elif OS(OPENBSD)
- v8SetReturnValue(args, v8::String::NewSymbol("openbsd"));
#elif OS(WIN)
v8SetReturnValue(args, v8::String::NewSymbol("windows"));
-#else
- v8SetReturnValue(args, v8::String::NewSymbol("unknown"));
+#else // Unix-like systems
+ v8SetReturnValue(args, v8::String::NewSymbol("linux"));
#endif
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698