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

Side by Side Diff: mojo/dart/packages/mojo_services/lib/http_server/http_response.mojom.dart

Issue 2050763003: Dart: Add warning to the top of .mojom.dart files (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // WARNING: DO NOT EDIT. This file was generated by a program.
2 // Use of this source code is governed by a BSD-style license that can be 2 // See $MOJO_SDK/tools/bindings/mojom_bindings_generator.py.
3 // found in the LICENSE file.
4 3
5 library http_response_mojom; 4 library http_response_mojom;
6 import 'package:mojo/bindings.dart' as bindings; 5 import 'package:mojo/bindings.dart' as bindings;
7 import 'package:mojo/core.dart' as core; 6 import 'package:mojo/core.dart' as core;
8 7
9 8
10 9
11 10
12 class HttpResponse extends bindings.Struct { 11 class HttpResponse extends bindings.Struct {
13 static const List<bindings.StructDataHeader> kVersions = const [ 12 static const List<bindings.StructDataHeader> kVersions = const [
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 } 178 }
180 179
181 Map toJson() { 180 Map toJson() {
182 throw new bindings.MojoCodecError( 181 throw new bindings.MojoCodecError(
183 'Object containing handles cannot be encoded to JSON.'); 182 'Object containing handles cannot be encoded to JSON.');
184 } 183 }
185 } 184 }
186 185
187 186
188 187
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698