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

Issue 1694413003: Cleanups in the Mojo package. (Closed)

Created:
4 years, 10 months ago by floitsch
Modified:
3 years, 6 months ago
Reviewers:
zra
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Cleanups in the Mojo package. Remove unused argument to startRead|Write. This is a breaking change. Rename constants (to lower case) so that they are consistent. This is a breaking change. Keeping the MojoResult constants ("kOk", ...) since changing them would be *really* breaking. Make the internal library the owner of the constants. That is, the constants are exported from the internal library. The package is just a user of them.

Patch Set 1 #

Total comments: 10

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -173 lines) Patch
M mojo/dart/embedder/io/mojo_patch.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/dart/packages/mojo/lib/src/buffer.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo/lib/src/data_pipe.dart View 9 chunks +18 lines, -20 lines 0 comments Download
M mojo/dart/packages/mojo/lib/src/handle.dart View 3 chunks +5 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo/lib/src/message_pipe.dart View 2 chunks +5 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo/lib/src/types.dart View 1 2 chunks +27 lines, -27 lines 0 comments Download
M mojo/dart/packages/mojo/sdk_ext/internal.dart View 1 chunk +1 line, -0 lines 0 comments Download
A mojo/dart/packages/mojo/sdk_ext/src/constants.dart View 1 1 chunk +62 lines, -0 lines 0 comments Download
M mojo/dart/packages/mojo/sdk_ext/src/handle_watcher.dart View 5 chunks +11 lines, -10 lines 0 comments Download
M mojo/dart/packages/mojo/sdk_ext/src/natives.dart View 1 22 chunks +87 lines, -86 lines 0 comments Download
M mojo/dart/packages/mojo/sdk_ext_sources.gni View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/dart/unittests/embedder_tests/core_test.dart View 9 chunks +13 lines, -15 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
floitsch
4 years, 10 months ago (2016-02-16 16:37:00 UTC) #2
zra
https://codereview.chromium.org/1694413003/diff/1/mojo/dart/packages/mojo/lib/src/buffer.dart File mojo/dart/packages/mojo/lib/src/buffer.dart (right): https://codereview.chromium.org/1694413003/diff/1/mojo/dart/packages/mojo/lib/src/buffer.dart#newcode8 mojo/dart/packages/mojo/lib/src/buffer.dart:8: static const int createFlagNone = MojoConstants.kNone; This indirection increases ...
4 years, 10 months ago (2016-02-16 16:58:26 UTC) #3
floitsch
https://codereview.chromium.org/1694413003/diff/1/mojo/dart/packages/mojo/lib/src/buffer.dart File mojo/dart/packages/mojo/lib/src/buffer.dart (right): https://codereview.chromium.org/1694413003/diff/1/mojo/dart/packages/mojo/lib/src/buffer.dart#newcode8 mojo/dart/packages/mojo/lib/src/buffer.dart:8: static const int createFlagNone = MojoConstants.kNone; On 2016/02/16 16:58:26, ...
4 years, 10 months ago (2016-02-16 17:03:54 UTC) #4
floitsch
ping. If the const-redirects feel like an issue, I could run benchmarks. Are there already ...
4 years, 10 months ago (2016-02-17 15:33:14 UTC) #5
zra
On 2016/02/17 15:33:14, floitsch wrote: > ping. > > If the const-redirects feel like an ...
4 years, 10 months ago (2016-02-17 16:54:08 UTC) #6
zra
lgtm with nits and a question https://codereview.chromium.org/1694413003/diff/1/mojo/dart/packages/mojo/sdk_ext/src/constants.dart File mojo/dart/packages/mojo/sdk_ext/src/constants.dart (right): https://codereview.chromium.org/1694413003/diff/1/mojo/dart/packages/mojo/sdk_ext/src/constants.dart#newcode1 mojo/dart/packages/mojo/sdk_ext/src/constants.dart:1: // Copyright 2014 ...
4 years, 10 months ago (2016-02-22 20:20:04 UTC) #7
floitsch
https://codereview.chromium.org/1694413003/diff/1/mojo/dart/packages/mojo/sdk_ext/src/constants.dart File mojo/dart/packages/mojo/sdk_ext/src/constants.dart (right): https://codereview.chromium.org/1694413003/diff/1/mojo/dart/packages/mojo/sdk_ext/src/constants.dart#newcode1 mojo/dart/packages/mojo/sdk_ext/src/constants.dart:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
4 years, 10 months ago (2016-02-26 18:48:08 UTC) #8
zra
3 years, 6 months ago (2017-06-05 16:12:04 UTC) #9
Close this?

Powered by Google App Engine
This is Rietveld 408576698