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

Side by Side Diff: utils/pub/oauth2.dart

Issue 11638010: Convert /** comments to /// in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to review. Created 8 years 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 | « utils/pub/lock_file.dart ('k') | utils/pub/package.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 // 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
2 // 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
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library oauth2; 5 library oauth2;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 import 'dart:uri'; 8 import 'dart:uri';
9 9
10 // TODO(nweiz): Make this a "package:" URL, or something nicer than this. 10 // TODO(nweiz): Make this a "package:" URL, or something nicer than this.
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 log.message( 207 log.message(
208 'Pub needs your authorization to upload packages on your behalf.\n' 208 'Pub needs your authorization to upload packages on your behalf.\n'
209 'In a web browser, go to $authUrl\n' 209 'In a web browser, go to $authUrl\n'
210 'Then click "Allow access".\n\n' 210 'Then click "Allow access".\n\n'
211 'Waiting for your authorization...'); 211 'Waiting for your authorization...');
212 212
213 return completer.future.transform((client) { 213 return completer.future.transform((client) {
214 log.message('Successfully authorized.\n'); 214 log.message('Successfully authorized.\n');
215 return client; 215 return client;
216 }); 216 });
217 } 217 }
OLDNEW
« no previous file with comments | « utils/pub/lock_file.dart ('k') | utils/pub/package.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698