mojom: Remove braces from module statements and make them come first.

So, instead of:

import "bar.mojom";
module foo {
  ...
}

You'll do:

module foo;
import "bar.mojom";
...

(Note that the grammar in the parser doesn't capture the ordering
constraint. It's hard to do so while keeping the grammar LR(1) AFAICT.
So instead we enforce the ordering "manually".)

Also delete mojo/spy/PRESUBMIT.py since it's broken. We'll delete
mojo/spy separately.

R=jamesr@chromium.org

Review URL: https://codereview.chromium.org/687793004
This commit is contained in:
Viet-Trung Luu
2014-10-31 12:59:52 -07:00
parent 4899c54110
commit 60314d529b

View File

@@ -2,11 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module sky {
module sky;
interface Debugger {
NavigateToURL(string url);
InjectInspector();
};
}