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

Side by Side Diff: analyzer/lib/src/generated/java_engine_io.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: 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 | « analyzer/lib/src/generated/java_engine.dart ('k') | analyzer/lib/src/generated/java_io.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 library java.engine.io;
2
3 import "dart:io";
4 import "java_io.dart";
5
6 class OSUtilities {
7 static String LINE_SEPARATOR = isWindows() ? '\r\n' : '\n';
8 static bool isWindows() => Platform.operatingSystem == 'windows';
9 static bool isMac() => Platform.operatingSystem == 'macos';
10 }
11
12 class FileUtilities2 {
13 static JavaFile createFile(String path) {
14 return new JavaFile(path).getAbsoluteFile();
15 }
16 }
OLDNEW
« no previous file with comments | « analyzer/lib/src/generated/java_engine.dart ('k') | analyzer/lib/src/generated/java_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698