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

Side by Side Diff: dart/samples/ui_lib/util/Uri.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « dart/samples/ui_lib/util/StringUtils.dart ('k') | dart/samples/ui_lib/util/utilslib.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 part of utilslib;
2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
6 4
7 /** 5 /**
8 * A parsed URI, inspired by: 6 * A parsed URI, inspired by:
9 * http://closure-library.googlecode.com/svn/docs/class_goog_Uri.html 7 * http://closure-library.googlecode.com/svn/docs/class_goog_Uri.html
10 */ 8 */
11 class Uri extends uri.Uri { 9 class Uri extends uri.Uri {
12 /** 10 /**
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 return component.replaceAll('%3A', ':') 68 return component.replaceAll('%3A', ':')
71 .replaceAll('%2F', '/') 69 .replaceAll('%2F', '/')
72 .replaceAll('%3F', '?') 70 .replaceAll('%3F', '?')
73 .replaceAll('%3D', '=') 71 .replaceAll('%3D', '=')
74 .replaceAll('%26', '&') 72 .replaceAll('%26', '&')
75 .replaceAll('%20', ' '); 73 .replaceAll('%20', ' ');
76 } 74 }
77 75
78 Uri.fromString(String uriString) : super.fromString(uriString); 76 Uri.fromString(String uriString) : super.fromString(uriString);
79 } 77 }
OLDNEW
« no previous file with comments | « dart/samples/ui_lib/util/StringUtils.dart ('k') | dart/samples/ui_lib/util/utilslib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698